/** * Constructor withe the required library classes loaded */ public function __construct() { parent::__construct(); //libraries for form validation $this->load->helper('form'); $this->load->helper('security'); $this->load->helper(array('form', 'url')); $this->load->library('form_validation'); $this->load->library('encrypt'); //read folder specified $this->load->helper('directory'); //get base url $this->load->helper('url'); //file handling library $this->load->helper("file"); }
/** * Constructor withe the required library classes loaded */ public function __construct() { parent::__construct(); //libraries for form validation $this->load->helper('form'); $this->load->helper('security'); $this->load->helper(array('form', 'url')); $this->load->library('form_validation'); $this->load->library('encrypt'); //load the email configuration class $this->load->library('email_config'); //file handling library $this->load->helper("file"); //get base url $this->load->helper('url'); //retain session data $this->load->library('session'); }
public function __construct() { parent::__construct(); $this->load->helper('url'); }
public function __construct() { parent::__construct(); $this->load->model('chart_model'); }