Route the application.

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

The default implementation of this method instatiates an instance of JURI and passes it to the JRouter.

See dispatch().

Implementation

class MyApp extends JApplication
{
  function route()
    $router =& $this->getRouter();
    $router->parse('/example/uri/display/foo:bar');
  }
}

Application

$myApp =& new MyApp;
$myApp->route();

Related Classes