IconObject
class IconObject extends AbstractContent implements Icon
The IconObject class
Properties
protected | $icon |
Methods
__construct(string $iconName)
No description
string
getHtml()
Returns the component as HTML markup string
$this
setTitle(string|null $title = null)
Sets the title of the icon
$this
setDecorative(bool $decorative)
Set whether the icon is for decoration only
Details
in
AbstractContent at line 27
string
__toString()
Returns the component as HTML markup string
in
AbstractContent at line 36
$this
printHtml()
Prints the component as HTML markup string
at line 30
__construct(string $iconName)
No description
at line 35
I
createTag()
No description
at line 39
string
getHtml()
Returns the component as HTML markup string
at line 49
$this
setTitle(string|null $title = null)
Sets the title of the icon
at line 63
$this
setDecorative(bool $decorative)
Set whether the icon is for decoration only