API16:JButton/fetchIconClass
From Joomla! Documentation
Description
Method to get the CSS class name for an icon identifier
<! removed transcluded page call, red link never existed >
Syntax
fetchIconClass($identifier)
| Parameter Name | Default Value | Description |
|---|---|---|
| $identifier | $identifier Icon identification string |
Returns
string CSS class name
Defined in
libraries/joomla/html/toolbar/button.php
Importing
jimport( 'joomla.html.toolbar.button' );
Source Body
public function fetchIconClass($identifier)
{
return "icon-32-$identifier";
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples