ToolbarButton
class ToolbarButton
Toolbar Button definition
Properties
string | $name | ||
string | $type | ||
$label | |||
$context | |||
$permission | |||
$disabled | |||
mixed|string|null | $cssClass | ||
array | $config | ||
protected | $menuItems |
Methods
__construct($name)
Constructor.
$this
displayAs(string $type, $config)
Specifies a Toolbar button rendering mode. Supported modes are:
- text - text column, aligned left
- number - numeric column, aligned right
array|string
getAttributes(bool $htmlBuild = true)
Returns the attributes for this item.
menuItems($value = null)
No description
evalConfig($config)
No description
Details
at line 47
__construct($name)
Constructor.
at line 62
$this
displayAs(string $type, $config)
Specifies a Toolbar button rendering mode. Supported modes are:
- text - text column, aligned left
- number - numeric column, aligned right
at line 78
array|string
getAttributes(bool $htmlBuild = true)
Returns the attributes for this item.
*
at line 101
menuItems($value = null)
No description
at line 113
protected
evalConfig($config)
No description