/** * Constructor * * Runs the route mapping function. */ function MY_Router() { // {{{ Matchbox $this->_matchbox =& load_class('Matchbox'); // }}} parent::CI_Router(); }
/** * Constructor */ public function __construct() { $this->load_config(); $this->detect_method(); $fmt = $this->detect_format(); $this->detect_view($fmt); parent::CI_Router(); }
function MY_Route() { // HACK: support overridding REQUEST_METHOD by posting a _method parameter if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['_method'])) { $_SERVER['REQUEST_METHOD'] = strtoupper($_POST['_method']); } elseif (isset($_SERVER['HTTP_X_HTTP_METHOD_OVERRIDE'])) { $_SERVER['REQUEST_METHOD'] = strtoupper($_SERVER['HTTP_X_HTTP_METHOD_OVERRIDE']); } parent::CI_Router(); }
function MY_Router() { parent::CI_Router(); }
/** * Builds the object, sets up the router */ public function __construct() { parent::CI_Router(); }
function MY_Router() { $this->_mb_init(); parent::CI_Router(); log_message('debug', "Matchbox: Router Class Hooked"); }
/** * Constructor */ function APM_Router() { $this->server_request = $this->_detect_request_method(); $this->_http_format_url(); parent::CI_Router(); }
/** * Constructor * * @access public */ function SP_Router() { parent::CI_Router(); }