예제 #1
0
 function render()
 {
     $this->addClass('atk-icon');
     $this->addClass('atk-icons-' . $this->color);
     $this->addClass('atk-icon-' . $this->shape);
     parent::render();
 }
예제 #2
0
파일: Button.php 프로젝트: respond/atk4
 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();
 }
예제 #3
0
파일: Button.php 프로젝트: TigerBui/atk4
 /**
  * Render button
  * 
  * @return void
  */
 function render()
 {
     $this->jsButton();
     parent::render();
 }