API16

API16:JButton/fetchIconClass

From Joomla! Documentation

Revision as of 01:20, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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