PHP 클래스 Papi_Core_Tab, papi

파일 보기 프로젝트 열기: wp-papi/papi

공개 프로퍼티들

프로퍼티 타입 설명
$background string Possible values are: white or grey. By default if empty the background will be automatic, if first property has no sidebar it'll be white and if it has a sidebar it'll be grey.
$capabilities array Capabilities list.
$icon string Tab icon.
$id string The core tab identifier.
$properties array Box properties.
$sort_order integer The sort order of the core box.
$tab boolean Because of old code for tabs this property is required to exists on core tab class.
$title string The title of the box.

공개 메소드들

메소드 설명
__construct ( array $args = [], array $properties = [] ) The constructor.

보호된 메소드들

메소드 설명
setup_args ( array $args ) Setup arguments.
setup_properties ( array $properties ) Setup properties.

메소드 상세

__construct() 공개 메소드

The constructor.
public __construct ( array $args = [], array $properties = [] )
$args array
$properties array

setup_args() 보호된 메소드

Setup arguments.
protected setup_args ( array $args )
$args array

setup_properties() 보호된 메소드

Setup properties.
protected setup_properties ( array $properties )
$properties array

프로퍼티 상세

$background 공개적으로 프로퍼티

Possible values are: white or grey. By default if empty the background will be automatic, if first property has no sidebar it'll be white and if it has a sidebar it'll be grey.
public string $background
리턴 string

$capabilities 공개적으로 프로퍼티

Capabilities list.
public array $capabilities
리턴 array

$icon 공개적으로 프로퍼티

Tab icon.
public string $icon
리턴 string

$id 공개적으로 프로퍼티

The core tab identifier.
public string $id
리턴 string

$properties 공개적으로 프로퍼티

Box properties.
public array $properties
리턴 array

$sort_order 공개적으로 프로퍼티

The sort order of the core box.
public int $sort_order
리턴 integer

$tab 공개적으로 프로퍼티

Because of old code for tabs this property is required to exists on core tab class.
public bool $tab
리턴 boolean

$title 공개적으로 프로퍼티

The title of the box.
public string $title
리턴 string