function __construct() { parent::__construct(); $this->load->helper(array('form', 'text')); $this->load->model('Dashboard_model'); $this->load->model('Gallery_model'); }
function __construct() { parent::__construct(); $this->load->helper(array('file', 'directory')); $this->load->model('Gallery_model'); $this->load->model('Dashboard_model'); }
/** * 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; } }
function __construct() { parent::__construct(); $this->load->helper('form'); $this->load->model('Dashboard_model'); }
/** * Constructor * * @access public * @return void */ function __construct() { parent::__construct(); $this->load->model('Dashboard_model'); $this->load->model('Gallery_model'); }
/** * 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')); }