public function __construct() { if (isset($_SERVER['HTTP_APIVER'])) { $this->version = $_SERVER['HTTP_APIVER']; } parent::__construct(); }
/** * Constructor * * Runs the route mapping function. */ function __construct() { parent::__construct(); // Process 'modules_locations' from config $locations = $this->config->item('modules_locations'); if (!$locations) { $locations = array(APPPATH . 'modules/'); } else { if (!is_array($locations)) { $locations = array($locations); } } // Make sure all paths are the same format foreach ($locations as &$location) { $location = realpath($location); $location = str_replace('\\', '/', $location); $location = rtrim($location, '/') . '/'; } $this->config->set_item('modules_locations', $locations); }
function MY_Router() { parent::__construct(); }
/** * Constructor * * Runs the route mapping function. */ public function __construct() { parent::__construct(); }
function __construct() { // Call the Model constructor parent::__construct(); }
/** * Constructor * * Runs the route mapping function. */ public function __construct() { $this->config =& load_class('Config', 'core'); $this->module = new Module($this->config); parent::__construct(); }
/** * Class constructor * * Runs the route mapping function. * * @return void */ public function __construct($routing = NULL) { $this->index_routing = $routing; parent::__construct($routing); }
/** * Class constructor runs the route mapping function in CI3. * * @param array $routing Optional configuration values. * * @return void */ public function __construct($routing = null) { parent::__construct($routing); log_message('info', 'BF_Router class initialized'); }
function __construct() { parent::__construct(); log_message('debug', 'Plain_Router Class Initialized'); }
public function __construct($routing = NULL) { $this->input =& load_class('Input', 'core'); parent::__construct($routing); }