Пример #1
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     Helper::load('table', 'date', 'eav', 'form');
     // Load EAV model
     $this->db_page = $this->model('Model_Eav', 'page');
 }
Пример #2
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     Helper::load('form', 'date', 'guid');
     // Load model
     $this->db_user = $this->model('Model_User');
 }
Пример #3
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     Helper::load('table', 'date');
     // UI error notifications
     if ($text = $this->session->get('action_success')) {
         $this->view->notify_text = $text;
         $this->view->notify_style = 'ui-popup-success';
         $this->session->set('action_success', false);
     }
     if ($text = $this->session->get('action_error')) {
         $this->view->notify_text = $text;
         $this->view->notify_style = 'ui-popup-error';
         $this->session->set('action_error', false);
     }
 }
Пример #4
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
 }