PHP Class PluginInfo_1_3, bp-reply-by-email

Author: Janis Elsts
Exibir arquivo Open project: r-a-y/bp-reply-by-email Class Usage Examples

Public Properties

Property Type Description
$author
$author_homepage
$download_url
$downloaded
$homepage
$id
$last_updated
$name See the relevant docs for a description of their meaning.
$num_ratings
$rating
$requires
$sections
$slug
$tested
$upgrade_notice
$version

Public Methods

Method Description
fromJson ( string $json, boolean $triggerErrors = false ) : PluginInfo | null Create a new instance of PluginInfo from JSON-encoded plugin info returned by an external update API.
toWpFormat ( ) : object Transform plugin info into the format used by the native WordPress.org API

Method Details

fromJson() public static method

Create a new instance of PluginInfo from JSON-encoded plugin info returned by an external update API.
public static fromJson ( string $json, boolean $triggerErrors = false ) : PluginInfo | null
$json string Valid JSON string representing plugin info.
$triggerErrors boolean
return PluginInfo | null New instance of PluginInfo, or NULL on error.

toWpFormat() public method

Transform plugin info into the format used by the native WordPress.org API
public toWpFormat ( ) : object
return object

Property Details

$author public_oe property

public $author

$author_homepage public_oe property

public $author_homepage

$download_url public_oe property

public $download_url

$downloaded public_oe property

public $downloaded

$homepage public_oe property

public $homepage

$id public_oe property

public $id

$last_updated public_oe property

public $last_updated

$name public_oe property

See the relevant docs for a description of their meaning.
public $name

$num_ratings public_oe property

public $num_ratings

$rating public_oe property

public $rating

$requires public_oe property

public $requires

$sections public_oe property

public $sections

$slug public_oe property

public $slug

$tested public_oe property

public $tested

$upgrade_notice public_oe property

public $upgrade_notice

$version public_oe property

public $version