AAAAhome/academiac/www/libraries/joomla/html/toolbar/button.php 0000644 00000004046 15137260401 0020101 0 ustar 00 _parent = $parent; } /** * Get the element name * * @return string type of the parameter */ public function getName() { return $this->_name; } /** * Get the HTML to render the button * * @param array &$definition Parameters to be passed * * @return string */ public function render(&$definition) { /* * Initialise some variables */ $html = null; $id = call_user_func_array(array(&$this, 'fetchId'), $definition); $action = call_user_func_array(array(&$this, 'fetchButton'), $definition); // Build id attribute if ($id) { $id = "id=\"$id\""; } // Build the HTML Button $html .= "