API15:JButtonConfirm/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
Description:JButtonConfirm/fetchId
Syntax
fetchId($type='Confirm', $name= '', $text= '', $task= '', $list=true, $hideMenu=false)
| Parameter Name | Default Value | Description |
|---|---|---|
| $type | 'Confirm' | |
| $name | ||
| $text | ||
| $task | ||
| $list | true | |
| $hideMenu | false |
Returns
string Button CSS Id
Defined in
libraries/joomla/html/toolbar/button/confirm.php
Importing
jimport( 'joomla.html.toolbar.button.confirm' );
Source Body
function fetchId( $type='Confirm', $name = '', $text = '', $task = '', $list = true, $hideMenu = false ) { return $this->_parent->_name.'-'.$name; }
[Edit See Also] SeeAlso:JButtonConfirm/fetchId
Examples
<CodeExamplesForm />
