references:joomla.framework:html:jbuttoncustom-fetchidfetchId
Gets the button’s CSS ID. The value returned is a concatenation of the parent’s name property and the specified ID parameter. Syntaxstring fetchId ( $type, $html, $id )
ExamplesExample $bar =& new JToolBar( 'My ToolBar' ); $button =& $bar->loadButtonType( 'Custom' ); echo $button->fetchId( 'Custom', '<a href="http://www.joomla.org">Joomla!</a>', 'example' ); might produce: Result My ToolBar-example Discussion |


