Support Joomla!

references:joomla.framework:html:jbuttonlink-fetchid

Table of Contents

fetchId

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage HTML Class JButtonLink Method fetchId Reference 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 specified name.

Syntax

string fetchId ( $name )

$name string is a string containing the name of the button.

Examples

Example

$bar =& new JToolBar( 'My ToolBar' );
$button =& $bar->loadButtonType( 'Link' );
echo $button->fetchId( 'Link', 'return', 'Return', 'http://www.joomla.org' );

might produce:

Result

My ToolBar-Link

Discussion

Full name:
E-Mail:
 
references/joomla.framework/html/jbuttonlink-fetchid.txt (621 views) · Last modified: 2007/09/22 02:48