references:joomla.framework:html:jbuttonlink-fetchidfetchId
Gets the button’s CSS ID. The value returned is a concatenation of the parent’s name property and the specified name. Syntaxstring fetchId ( $name )
ExamplesExample $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 |


