english/libraries/joomla/application/application.php
/**
	 * 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
	 */
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.


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 .
public function route()
	{
		$uri	= clone JURI::getInstance();
		$router = $this->getRouter();
		$result = $router->parse($uri);
		JRequest::set($result, 'get', false);
		JPluginHelper::importPlugin('system');
		$this->triggerEvent('onAfterRoute');
	}
public function route ( ) { $ uri = clone JURI :: getInstance ( ) ; $ router = $ this -> getRouter ( ) ; $ result = $ router -> parse ( $ uri ) ; JRequest :: set ( $ result , 'get' , false ) ; JPluginHelper :: importPlugin ( 'system' ) ; $ this -> triggerEvent ( 'onAfterRoute' ) ; }
Route the application.
Route the application .
// Get the full request URI. // Trigger the onAfterRoute event.