function render() { $this->addClass('atk-icon'); $this->addClass('atk-icons-' . $this->color); $this->addClass('atk-icon-' . $this->shape); parent::render(); }
function init() { parent::init(); $this->__publicKey = $this->api->getConfig('recaptcha/publickey'); $this->__privateKey = $this->api->getConfig('recaptcha/privatekey'); $this->check(); $this->set($this->getHtml()); }
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(); }
function init() { parent::init(); $this->setElement('ins'); }
public function init() { parent::init(); $this->setElement('p'); $this->addClass('atk-text-dimmed'); }
/** * Render button * * @return void */ function render() { $this->jsButton(); parent::render(); }