Represents an HTML link element.
◆ __toString()
- Returns
- returns a HTML representation of this hyperlink.
◆ initialize()
| initialize |
( |
|
$label, |
|
|
|
$url, |
|
|
|
$attributes |
|
) |
| |
|
protected |
Initialize a Hyperlink used as button. The second parameter is used as @href attribute of the resulting HTML element.
- Parameters
-
| string | $label | the label of the element |
| string | $url | the @href element of the element |
| array | $attributes | the attributes of the element |
Reimplemented from Interactable.
The documentation for this class was generated from the following file: