english/libraries/joomla/application/router.php
/**
	 * Function to convert an internal URI to a route
	 *
	 * @param   string  The internal URL
	 *
	 * @return  string  The absolute search engine friendly URL
	 * @since   11.1
	 */
Function to convert an internal URI to a route
@param   string  The internal URL

@return  string  The absolute search engine friendly URL
@since   11.1
Function to convert an internal URI to a route @param string The internal URL @return string The absolute search engine friendly URL @since 11 . 1
public function build($url)
	{
		$uri = $this->_createURI($url);
		$this->_processBuildRules($uri);
		if ($this->_mode == JROUTER_MODE_RAW) {
			$this->_buildRawRoute($uri);
		}
		if ($this->_mode == JROUTER_MODE_SEF) {
			$this->_buildSefRoute($uri);
		}
		return $uri;
	}
public function build ( $ url ) { $ uri = $ this -> _createURI ( $ url ) ; $ this -> _processBuildRules ( $ uri ) ; if ( $ this -> _mode == JROUTER_MODE_RAW ) { $ this -> _buildRawRoute ( $ uri ) ; } if ( $ this -> _mode == JROUTER_MODE_SEF ) { $ this -> _buildSefRoute ( $ uri ) ; } return $ uri ; }
Function to convert an internal URI to a route
 @param   string  The internal URL
Function to convert an internal URI to a route @param string The internal URL
// Create the URI object // Process the uri information based on custom defined rules // Build RAW URL // Build SEF URL : mysite/route/index.php?var=x