Table of Contents

getName

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage HTML Class JButton Method getName Reference getName() Never Work in Progress

Gets the button name.

Syntax

string getName ()

Examples

Example

$bar =& new JToolBar( 'My ToolBar' );
$button =& $bar->loadButtonType( 'Standard' );
$button->fetchId( 'Standard', 'send', 'Activate', 'activate', false );
echo $button->getName();

might produce:

Result

Standard