/** * 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'); }
/** * @author : Roledene * Type : Constructor * Name : __construct * Description : this is the default construtor of Dashboard class */ public function __constructor() { parent::__constructor(); }
public function __construct() { parent::__construct(); $this->load->helper('url'); }
public function __constructor() { parent::__constructor(); $this->load->model('user_m'); }
public function __construct() { parent::__construct(); $this->load->model('chart_model'); }
public function __constructor() { parent::__constructor(); $this->load->model('project_model'); }
<?php ini_set("display_errors", 1); error_reporting(255); define('ROOT_PATH', 'c:/wamp/www/dom/'); define('ENVIRONMENT', 'dev'); include_once ROOT_PATH . 'manager/controller.php'; Manager_Controller::getInstance()->run();