protected function _initialize(){

		// Fetch the complete URI string
		$this->uri->_fetch_uri_string();
		
		// Do we need to remove the URL suffix?
		$this->uri->_remove_url_suffix();

		// Compile the segments into an array
		$this->uri->_explode_segments();

		// Set Segments
		$this->segments = $this->uri->segments;


		// Parse any custom routing that may exist
		$this->_parseRoutes();

		// Re-index the segment array so that it starts with 1 rather than 0
		$this->uri->_reindex_segments();

	}
protected function _initialize(){

		// Fetch the complete URI string
		$this->uri->_fetch_uri_string();
		
		// Do we need to remove the URL suffix?
		$this->uri->_remove_url_suffix();

		// Compile the segments into an array
		$this->uri->_explode_segments();

		// Set Segments
		$this->segments = $this->uri->segments;


		// Parse any custom routing that may exist
		$this->_parseRoutes();

		// Re-index the segment array so that it starts with 1 rather than 0
		$this->uri->_reindex_segments();

	}
protected function _initialize ( ) { // Fetch the complete URI string $ this -> uri -> _fetch_uri_string ( ) ; // Do we need to remove the URL suffix? $ this -> uri -> _remove_url_suffix ( ) ; // Compile the segments into an array $ this -> uri -> _explode_segments ( ) ; // Set Segments $ this -> segments = $ this -> uri -> segments ; // Parse any custom routing that may exist $ this -> _parseRoutes ( ) ; // Re-index the segment array so that it starts with 1 rather than 0 $ this -> uri -> _reindex_segments ( ) ; }
Set the route mapping

This function determines what should be served based on the URI request,
as well as any "routes" that have been set in the routing config file.

@access	private
@return	void
Set the route mapping