Example #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');
 }
Example #2
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     Helper::load('form', 'date', 'guid');
     // Load model
     $this->db_user = $this->model('Model_User');
 }
Example #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);
     }
 }
Example #4
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
 }