Ejemplo n.º 1
0
 function render()
 {
     $this->addClass('atk-icon');
     $this->addClass('atk-icons-' . $this->color);
     $this->addClass('atk-icon-' . $this->shape);
     parent::render();
 }
Ejemplo 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());
 }
Ejemplo 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();
 }
Ejemplo n.º 4
0
 function init()
 {
     parent::init();
     $this->setElement('ins');
 }
Ejemplo n.º 5
0
Archivo: Hint.php Proyecto: atk4/atk4
 public function init()
 {
     parent::init();
     $this->setElement('p');
     $this->addClass('atk-text-dimmed');
 }
Ejemplo n.º 6
0
 /**
  * Render button
  * 
  * @return void
  */
 function render()
 {
     $this->jsButton();
     parent::render();
 }