PHP Class Papi_Core_Tab, papi

Afficher le fichier Open project: wp-papi/papi

Méthodes publiques

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
__construct ( array $args = [], array $properties = [] ) The constructor.

Méthodes protégées

Méthode Description
setup_args ( array $args ) Setup arguments.
setup_properties ( array $properties ) Setup properties.

Method Details

__construct() public méthode

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

setup_args() protected méthode

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

setup_properties() protected méthode

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

Property Details

$background public_oe property

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
Résultat string

$capabilities public_oe property

Capabilities list.
public array $capabilities
Résultat array

$icon public_oe property

Tab icon.
public string $icon
Résultat string

$id public_oe property

The core tab identifier.
public string $id
Résultat string

$properties public_oe property

Box properties.
public array $properties
Résultat array

$sort_order public_oe property

The sort order of the core box.
public int $sort_order
Résultat integer

$tab public_oe property

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

$title public_oe property

The title of the box.
public string $title
Résultat string