芝麻web文件管理V1.00
编辑当前文件:/home/asmplong/www/ancien-site-2019/site/libraries/joomla/html/toolbar/button.php
_parent = $parent; } /** * Get the element name * * @return string type of the parameter */ public function getName() { return $this->_name; } 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 .= "
\n"; $html .= $action; $html .= "
\n"; return $html; } /** * Method to get the CSS class name for an icon identifier * * Can be redefined in the final class * * @param string $identifier Icon identification string * @return string CSS class name * @since 11.1 */ public function fetchIconClass($identifier) { return "icon-32-$identifier"; } /** * Get the button * * Defined in the final button class * * @since 11.1 */ abstract public function fetchButton(); }