PHP Класс Papi_Core_Tab, 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