Actions

API15

JButtonPopup/fetchId

From Joomla! Documentation

< API15:JButtonPopup
Revision as of 17:23, 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

Get the button id

[Edit Descripton]

Description:JButtonPopup/fetchId

Syntax

fetchId($name)
Parameter Name Default Value Description
$name $name Button name

Returns

string Button CSS Id

Defined in

libraries/joomla/html/toolbar/button/popup.php

Importing

jimport( 'joomla.html.toolbar.button.popup' );

Source Body

function fetchId($name)
{
        return $this->_parent->_name.'-'."popup-$name";
}

[Edit See Also] SeeAlso:JButtonPopup/fetchId

Examples

<CodeExamplesForm />