Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper(array('form', 'text'));
     $this->load->model('Dashboard_model');
     $this->load->model('Gallery_model');
 }
Example #2
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper(array('file', 'directory'));
     $this->load->model('Gallery_model');
     $this->load->model('Dashboard_model');
 }
Example #3
0
 /**
  * Login Constructor Class
  *
  * Loads model and necessary helpers
  * If logged in directs to the dashboard
  *
  */
 function __construct()
 {
     parent::__construct();
     $this->load->model('Login_model');
     $this->load->helper(array('security', 'form'));
     // already logged in, redirect
     if ($this->session->userdata('username')) {
         redirect('/admin/albums/', 'refresh');
         exit;
     }
 }
Example #4
0
 function __construct()
 {
     parent::__construct();
     $this->load->helper('form');
     $this->load->model('Dashboard_model');
 }
Example #5
0
 /**
  * Constructor
  *
  * @access public
  * @return void
  */
 function __construct()
 {
     parent::__construct();
     $this->load->model('Dashboard_model');
     $this->load->model('Gallery_model');
 }
Example #6
0
 /**
  * Gallery Constructor Class
  *
  * This is the default controller
  * Loads model and necessary helpers
  * NOTE: Parent Controller checks if installed
  *
  */
 function __construct()
 {
     parent::__construct();
     $this->load->model('Gallery_model');
     $this->load->helper(array('smiley', 'text', 'form'));
 }