code/application/application.php
public function route()
	{
		// Get the full request URI.
		$uri = clone JUri::getInstance();

		$router = $this->getRouter();
		$result = $router->parse($uri);

		foreach ($result as $key => $value)
		{
			$this->input->def($key, $value);
		}

		// Trigger the onAfterRoute event.
		JPluginHelper::importPlugin('system');
		$this->triggerEvent('onAfterRoute');
	}
public function route()
	{
		// Get the full request URI.
		$uri = clone JUri::getInstance();

		$router = $this->getRouter();
		$result = $router->parse($uri);

		foreach ($result as $key => $value)
		{
			$this->input->def($key, $value);
		}

		// Trigger the onAfterRoute event.
		JPluginHelper::importPlugin('system');
		$this->triggerEvent('onAfterRoute');
	}
public function route ( ) { // Get the full request URI. $ uri = clone JUri :: getInstance ( ) ; $ router = $ this -> getRouter ( ) ; $ result = $ router -> parse ( $ uri ) ; foreach ( $ result as $ key => $ value ) { $ this -> input -> def ( $ key , $ value ) ; } // Trigger the onAfterRoute event. JPluginHelper :: importPlugin ( 'system' ) ; $ this -> triggerEvent ( 'onAfterRoute' ) ; }
Route the application.

Routing is the process of examining the request environment to determine which
component should receive the request. The component optional parameters
are then set in the request object to be processed when the application is being
dispatched.

@return  void

@since   11.1
@deprecated  4.0
Route the application .