Actions

API16

JButtonPopup/fetchId

From Joomla! Documentation

< API16:JButtonPopup
Revision as of 17:53, 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

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

[Edit See Also] SeeAlso:JButtonPopup/fetchId

Examples

<CodeExamplesForm />