src/Request.php
public static function setRequestVariables($uri_variables, $api_mode = false) {
		if(self::$uri === array() && isset($_GET['dachi_uri']))
			self::$uri = explode("/", trim($_GET['dachi_uri'], " \t\n\r\0\x0B/"));

		foreach($uri_variables as $var)
			self::$uri_variables[$var[1]] = self::$uri[$var[0]];

		self::$api_mode = $api_mode;
	}
public static function setRequestVariables($uri_variables, $api_mode = false) {
		if(self::$uri === array() && isset($_GET['dachi_uri']))
			self::$uri = explode("/", trim($_GET['dachi_uri'], " \t\n\r\0\x0B/"));

		foreach($uri_variables as $var)
			self::$uri_variables[$var[1]] = self::$uri[$var[0]];

		self::$api_mode = $api_mode;
	}
public static function setRequestVariables ( $ uri_variables , $ api_mode = false ) { if ( self :: $ uri === array ( ) && isset ( $ _GET [ 'dachi_uri' ] ) ) self :: $ uri = explode ( "/" , trim ( $ _GET [ 'dachi_uri' ] , " \t\n\r\0\x0B/" ) ) ; foreach ( $ uri_variables as $ var ) self :: $ uri_variables [ $ var [ 1 ] ] = self :: $ uri [ $ var [ 0 ] ] ; self :: $ api_mode = $ api_mode ; }
Set the variable mapping for URI componants.

This is an internal function that allows the Router to assign the URI variables.

@internal
@see Router
@param array $uri_variables Format: array(array(uri index, variable name))
@param bool $api_mode Is this request serving an API method.
Set the variable mapping for URI componants .