JButton/fetchIconClass
From Joomla! Documentation
< API16:JButton
The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
Method to get the CSS class name for an icon identifier
<! removed transcluded page call, red link never existed >
Syntax[edit]
fetchIconClass($identifier)
Parameter Name | Default Value | Description |
---|---|---|
$identifier | $identifier Icon identification string |
Returns[edit]
string CSS class name
Defined in[edit]
libraries/joomla/html/toolbar/button.php
Importing[edit]
jimport( 'joomla.html.toolbar.button' );
Source Body[edit]
public function fetchIconClass($identifier)
{
return "icon-32-$identifier";
}
<! removed transcluded page call, red link never existed >
Examples[edit]
Code Examples[edit]