| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
HTML |
JButtonHelp |
fetchId |
fetchId() |
Never | Work in Progress |
Gets the button’s CSS ID. The value returned is a concatenation of the parent’s name property and the string ‘help’.
string fetchId ( $type )
| $type | string | is a string containing the button type. This parameter should normally be ‘Help’. This parameter is optional and if omitted defaults to ‘Help’. This parameter is not used. |
Example
$bar =& new JToolBar( 'My ToolBar' ); $button =& $bar->loadButtonType( 'Help' ); echo $button->fetchId( 'Help', 'screen.config', true );
might produce:
Result
My ToolBar-help