|
| | __construct ($label, $attributes) |
| |
| static | __callStatic ($name, $args) |
| |
| static | create ($label=NULL, $trait=NULL, $attributes=array()) |
| |
| static | createAccept ($label=NULL, $trait=NULL, $attributes=array()) |
| |
| static | createEdit ($label=NULL, $trait=NULL, $attributes=array()) |
| |
| static | createCancel ($label=NULL, $trait=NULL, $attributes=array()) |
| |
| | $label |
| |
| | $attributes |
| |
| | initialize ($label, $trait, $attributes) |
| |
Represents an HTML button element. Class Button inherits from Interactable and customizes the HTML output.
◆ __toString()
- Returns
- returns a HTML representation of this button.
◆ initialize()
| 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: