====== fetchId ======
{#JAPI Joomla.Framework HTML JButtonHelp::fetchId #}
Gets the button's CSS ID. The value returned is a concatenation of the parent's name property and the string 'help'.
===== Syntax =====
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. |
===== Examples =====
$bar =& new JToolBar( 'My ToolBar' );
$button =& $bar->loadButtonType( 'Help' );
echo $button->fetchId( 'Help', 'screen.config', true );
might produce:
My ToolBar-help
----
~~DISCUSSION~~