Beispiel #1
0
 function render()
 {
     $this->addClass('atk-icon');
     $this->addClass('atk-icons-' . $this->color);
     $this->addClass('atk-icon-' . $this->shape);
     parent::render();
 }
Beispiel #2
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();
 }
Beispiel #3
0
 /**
  * Render button
  * 
  * @return void
  */
 function render()
 {
     $this->jsButton();
     parent::render();
 }