Property | Type | Description | |
---|---|---|---|
$class | string | ||
$icon | string | callable | ||
$text | string | ||
$title | string | callable |
Method | Description | |
---|---|---|
getClass ( ) : string | Get attribute class | |
getIcon ( ) : string | Get icon | |
getText ( ) : string | Get text | |
getTitle ( ) : string | Get attribute title | |
setClass ( string $class ) | Set attribute class | |
setIcon ( string $icon ) | Set icon | |
setText ( string $text ) | Set text | |
setTitle ( string $title ) | Set attribute title | |
tryAddIcon ( Nette\Utils\Html $el, string | null $icon, string $name ) : void | Should the element has an icon? |