Actions

API15

JButton/fetchIconClass

From Joomla! Documentation

< API15:JButton
Revision as of 17:22, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Method to get the CSS class name for an icon identifier

[Edit Descripton]

Description:JButton/fetchIconClass

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

function fetchIconClass($identifier)
{
        return "icon-32-$identifier";
}

[Edit See Also] SeeAlso:JButton/fetchIconClass

Examples

<CodeExamplesForm />