====== fetchButton ======
{#JAPI Joomla.Framework HTML JButton::fetchButton #}
Returns the HTML for the button. This method is defined in the final button class.
===== Syntax =====
void fetchButton ()
===== Examples =====
This method is only defined in the final button classes. It is called by the render method to retrieve the actual HTML code for the button. The following is an example of calling the fetchButton method on a JButtonStandard button.
$bar =& new JToolBar( 'My ToolBar' );
$button =& $bar->loadButtonType( 'Standard' );
echo $button->fetchButton( 'Standard', 'send', 'Activate', 'activate', false );
might produce:
Activate
----
~~DISCUSSION~~