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