| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
HTML |
JButton |
fetchIconClass |
fetchIconClass() |
Never | Work in Progress |
Method to get the CSS class name for an icon identifier. This method dan be redefined in the final button class.
string fetchIconClass ( $identifier )
| $identifier | string | is a string containing the icon identification string. |
Example
$bar =& new JToolBar( 'My ToolBar' ); $button =& $bar->loadButtonType( 'Standard' ); echo $button->fetchIconClass( 'example' );
might produce:
Result
icon-32-example