API15:JButtonStandard/fetchId
From Joomla! Documentation
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 CSS Id
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
fetchId($type='Standard', $name= '', $text= '', $task= '', $list=true, $hideMenu=false)
| Parameter Name | Default Value | Description |
|---|---|---|
| $type | 'Standard' | |
| $name | ||
| $text | ||
| $task | ||
| $list | true | |
| $hideMenu | false |
Returns
string Button CSS Id
Defined in
libraries/joomla/html/toolbar/button/standard.php
Importing
jimport( 'joomla.html.toolbar.button.standard' );
Source Body
function fetchId( $type='Standard', $name = '', $text = '', $task = '', $list = true, $hideMenu = false ) { return $this->_parent->_name.'-'.$name; }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
