public function build($uri)
	{
		// Create the URI object
		$uri = $this->createUri($uri);

		// Process the uri information based on custom defined rules
		foreach ($this->rules['build'] as $rule)
		{
			$uri = $rule($uri);
		}

		return $uri;
	}
public function build($uri)
	{
		// Create the URI object
		$uri = $this->createUri($uri);

		// Process the uri information based on custom defined rules
		foreach ($this->rules['build'] as $rule)
		{
			$uri = $rule($uri);
		}

		return $uri;
	}
public function build ( $ uri ) { // Create the URI object $ uri = $ this -> createUri ( $ uri ) ; // Process the uri information based on custom defined rules foreach ( $ this -> rules [ 'build' ] as $ rule ) { $ uri = $ rule ( $ uri ) ; } return $ uri ; }
Function to convert an internal URI to a route

@param   string  $uri  The internal URL
@return  string  The absolute search engine friendly URL
Function to convert an internal URI to a route