예제 #1
0
파일: Error.php 프로젝트: atk4/atk4
 /**
  * Initialization
  */
 public function init()
 {
     parent::init();
     $this->addClass('atk-effect-danger');
     $this->template->set('label', $this->app->_('Error') . ': ');
     $this->addIcon('attention');
 }
예제 #2
0
파일: Hint.php 프로젝트: easyconn/atk4
 function init()
 {
     parent::init();
     $this->addClass('atk-effect-info');
     $this->template->set('label', $this->app->_('Hint') . ': ');
     $this->addIcon('info');
 }
예제 #3
0
파일: Warning.php 프로젝트: easyconn/atk4
 function init()
 {
     parent::init();
     $this->addClass('atk-effect-warning');
     $this->template->set('label', $this->app->_('Warning') . ': ');
     $this->addIcon('attention');
 }
예제 #4
0
 function init()
 {
     parent::init();
     $this->template->trySet('Icon', '<i class="ui-icon ui-icon-alert"></i>');
     // change default icon
 }
예제 #5
0
파일: Success.php 프로젝트: atk4/atk4
 /**
  * Initialization
  */
 public function init()
 {
     parent::init();
     $this->addClass('atk-effect-success');
     $this->addIcon('thumbs-up');
 }
예제 #6
0
파일: Info.php 프로젝트: atk4/atk4
 /**
  * Initialization
  */
 public function init()
 {
     parent::init();
     $this->addClass('atk-effect-info');
     $this->addIcon('info-circled');
 }