Свойство | Тип | Описание | |
---|---|---|---|
$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. |
public __construct ( array $args = [], array $properties = [] ) | ||
$args | array | |
$properties | array |
protected setup_properties ( array $properties ) | ||
$properties | array |
public string $background | ||
Результат | string |
public int $sort_order | ||
Результат | integer |
public bool $tab | ||
Результат | boolean |