fetchIconClass($name); $doTask = $this->_getCommand($url); $html = "\n"; $html .= "\n"; $html .= "\n"; $html .= "$text\n"; $html .= "\n"; return $html; } /** * Get the button CSS Id * * @param string $type The button type. * @param string $name The name of the button. * * @return string Button CSS Id * * @since 11.1 */ public function fetchId($type = 'Link', $name = '') { return $this->_parent->getName() . '-' . $name; } /** * Get the JavaScript command for the button * * @param object $url Button definition * * @return string JavaScript command string * * @since 11.1 */ protected function _getCommand($url) { return $url; } }