icon() public static method
Composes icon HTML for bootstrap Glyphicons.
public static string icon ( $name, $options = [] ) | ||
---|---|---|
$name | string |
Icon short name, for example: 'star' |
$options | array |
The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. There are also a special options:
|
return | string |
Icon HTML. |
Please login to continue.