BasicButton
class BasicButton extends ToolbarButton
Renders a basic button.
Properties
protected string
Since: 4.0.0
|
$name | Name of this button. |
from ToolbarButton |
protected Toolbar
Since: 4.0.0
|
$parent | Reference to the object that instantiated the element |
from ToolbarButton |
protected string
Since: 4.0.0
|
$layout | Property layout. |
|
protected array
Since: 4.0.0
|
$options | Button options. |
from ToolbarButton |
static protected array
Since: 4.0.0
|
$idCounter | Used to track an ids, to avoid duplication |
from ToolbarButton |
Methods
__construct(string $name = '', string $text = '', array $options = [])
Init this class.
from
ToolbarButton
string
fetchIconClass(string $identifier)
Method to get the CSS class name for an icon identifier
from
ToolbarButton
string
Details
__construct(string $name = '', string $text = '', array $options = [])
Since: 4.0.0
Init this class.
string
fetchIconClass(string $identifier)
Since: 3.0
Method to get the CSS class name for an icon identifier
Can be redefined in the final class