/** * Constructor */ public function __construct() { parent::__construct(); Helper::load('table', 'date', 'eav', 'form'); // Load EAV model $this->db_page = $this->model('Model_Eav', 'page'); }
/** * Constructor */ public function __construct() { parent::__construct(); Helper::load('form', 'date', 'guid'); // Load model $this->db_user = $this->model('Model_User'); }
/** * 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); } }
/** * Constructor */ public function __construct() { parent::__construct(); }