コード例 #1
0
ファイル: Icon.php プロジェクト: xavocvijay/atkschool
 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();
 }