classes/Ergo/Routing/Router.php
public function buildUrl($name, $parameters=array(), $baseUrl=null)
	{
		$url = $this->routeByName($name)->interpolate($parameters);

		if($baseUrl)
			return (string) $baseUrl->relative($url);
		else if(isset($this->_baseUrl))
			return $this->_baseUrl->relative($url);
		else
			return $url;
	}
public function buildUrl($name, $parameters=array(), $baseUrl=null)
	{
		$url = $this->routeByName($name)->interpolate($parameters);

		if($baseUrl)
			return (string) $baseUrl->relative($url);
		else if(isset($this->_baseUrl))
			return $this->_baseUrl->relative($url);
		else
			return $url;
	}
public function buildUrl ( $ name , $ parameters = array ( ) , $ baseUrl = null ) { $ url = $ this -> routeByName ( $ name ) -> interpolate ( $ parameters ) ; if ( $ baseUrl ) return ( string ) $ baseUrl -> relative ( $ url ) ; else if ( isset ( $ this -> _baseUrl ) ) return $ this -> _baseUrl -> relative ( $ url ) ; else return $ url ; }
Build a URL path based on a route name and associated parameters.
@param string $name
@param array $parameters
Build a URL path based on a route name and associated parameters .