PHP 클래스 PluginInfo_1_3, bp-reply-by-email

저자: Janis Elsts
파일 보기 프로젝트 열기: r-a-y/bp-reply-by-email 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
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

메소드 상세

fromJson() 공개 정적인 메소드

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
리턴 PluginInfo | null New instance of PluginInfo, or NULL on error.

toWpFormat() 공개 메소드

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

프로퍼티 상세

$author 공개적으로 프로퍼티

public $author

$author_homepage 공개적으로 프로퍼티

public $author_homepage

$download_url 공개적으로 프로퍼티

public $download_url

$downloaded 공개적으로 프로퍼티

public $downloaded

$homepage 공개적으로 프로퍼티

public $homepage

$id 공개적으로 프로퍼티

public $id

$last_updated 공개적으로 프로퍼티

public $last_updated

$name 공개적으로 프로퍼티

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

$num_ratings 공개적으로 프로퍼티

public $num_ratings

$rating 공개적으로 프로퍼티

public $rating

$requires 공개적으로 프로퍼티

public $requires

$sections 공개적으로 프로퍼티

public $sections

$slug 공개적으로 프로퍼티

public $slug

$tested 공개적으로 프로퍼티

public $tested

$upgrade_notice 공개적으로 프로퍼티

public $upgrade_notice

$version 공개적으로 프로퍼티

public $version