element of the button element |
- Parameters
-
| array | $attributes | the attributes of the button element |
|
| | initialize ($label, $name, $attributes) |
| | __toString () |
Detailed Description
Represents an HTML reset button element. Class Button inherits from Interactable and customizes the HTML output.
Member Function Documentation
- Returns
- returns a HTML representation of this button.
| initialize |
( |
|
$label, |
|
|
|
$trait, |
|
|
|
$attributes |
|
) |
| |
|
protected |
Initialize an interactable element. The parameters to create are handed over to enable subclass specific customization.
- Parameters
-
| string | $label | the label of the current element |
| string | $trait | the specific trait of the current element |
| array | $attributes | the attributes of the button element |
Reimplemented from Interactable.
The documentation for this class was generated from the following file: