Button
final class Button implements ButtonInterface
Properties
protected
Since: 5.0.0
|
$name | Button name, CMD string. |
|
protected
Since: 5.0.0
|
$props | Button properties. |
|
protected
Since: 5.0.0
|
$options | Button options. |
Methods
__construct(string $name, array $props = [], array $options = [])
Class constructor;
string
getButtonName()
Return Button name, CMD string.
mixed
get(string $name, string $default = null)
Return Button property.
set(string $name, mixed $value)
Set Button property.
array
getOptions()
Return Button options.
setOptions(array $options)
Set Button options.
string|null
void