references:joomla.framework:html:jbutton-renderrender
Renders the button. Retrieves the results from the fetchButton() method and encloses it in a <td> tag with an ‘id’ attribute that is retrieved from the fetchId() method. Syntaxvoid render ( &$definition )
ExamplesExample $bar =& new JToolBar( 'My ToolBar' ); $button =& $bar->loadButtonType( 'Standard' ); $params = array( 'Standard', 'send', 'Activate', 'activate', false ); echo $button->render( $params ); might produce: Result <td class="button" id="My ToolBar-send"> <a onclick="javascript:submitbutton('activate')" class="toolbar"> <div class="icon-32-send" title="Activate" type="Standard"> </div> Activate </a> </td> Discussion |


