function render() { $this->addClass('atk-icon'); $this->addClass('atk-icons-' . $this->color); $this->addClass('atk-icon-' . $this->shape); parent::render(); }
function render() { $this->jsButton(); if ($this->icon) { $this->addClass('ui-button-and-icon'); } else { //$this->addClass('ui-button'); $this->template->tryDel('icon_span'); } return parent::render(); }
/** * Render button * * @return void */ function render() { $this->jsButton(); parent::render(); }