Exemple #1
0
 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());
 }
Exemple #3
0
 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();
 }
Exemple #4
0
 function init()
 {
     parent::init();
     $this->setElement('ins');
 }
Exemple #5
0
 public function init()
 {
     parent::init();
     $this->setElement('p');
     $this->addClass('atk-text-dimmed');
 }
Exemple #6
0
 /**
  * Render button
  * 
  * @return void
  */
 function render()
 {
     $this->jsButton();
     parent::render();
 }