Reference: http://agiletoolkit.org/doc/ref ==ATK4=================================================== This file is part of Agile Toolkit 4 http://agiletoolkit.org/ (c) 2008-2013 Agile Toolkit Limited Distributed under Affero General Public License v3 and commercial license. See LICENSE or LICENSE_COM for more information =====================================================ATK4=
Inheritance: extends View
Esempio n. 1
0
File: Error.php Progetto: atk4/atk4
 /**
  * Initialization
  */
 public function init()
 {
     parent::init();
     $this->addClass('atk-effect-danger');
     $this->template->set('label', $this->app->_('Error') . ': ');
     $this->addIcon('attention');
 }
Esempio n. 2
0
 function init()
 {
     parent::init();
     $this->addClass('atk-effect-info');
     $this->template->set('label', $this->app->_('Hint') . ': ');
     $this->addIcon('info');
 }
Esempio n. 3
0
 function init()
 {
     parent::init();
     $this->addClass('atk-effect-warning');
     $this->template->set('label', $this->app->_('Warning') . ': ');
     $this->addIcon('attention');
 }
Esempio n. 4
0
 function init()
 {
     parent::init();
     $this->template->trySet('Icon', '<i class="ui-icon ui-icon-alert"></i>');
     // change default icon
 }
Esempio n. 5
0
 /**
  * Initialization
  */
 public function init()
 {
     parent::init();
     $this->addClass('atk-effect-success');
     $this->addIcon('thumbs-up');
 }
Esempio n. 6
0
File: Info.php Progetto: atk4/atk4
 /**
  * Initialization
  */
 public function init()
 {
     parent::init();
     $this->addClass('atk-effect-info');
     $this->addIcon('info-circled');
 }