API16

JButton/fetchIconClass

From Joomla! Documentation

< API16:JButton
Revision as of 17:52, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Method to get the CSS class name for an icon identifier <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>[[Description:JButton/fetchIconClass|Edit...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

[Edit Descripton]

Template:Description:JButton/fetchIconClass

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";
}

[Edit See Also] Template:SeeAlso:JButton/fetchIconClass

Examples[edit]

<CodeExamplesForm />