PHPonTrax
[ class tree: PHPonTrax ] [ index: PHPonTrax ] [ all elements ]

Class: Dispatcher

Source Location: /vendor/trax/dispatcher.php

Class Overview


Singleton class to call controller selected by HTTP request


Author(s):

Methods



Class Details

[line 36]
Singleton class to call controller selected by HTTP request



Tags:

tutorial:  Dispatcher


[ Top ]


Class Methods


method dispatch [line 61]

void dispatch( )

Dispatch a request from Apache

Called from file dispatch.php, which is invoked by Apache mod_rewrite whenever a client makes a request. Actions:

  1. Remove forbidden tags and attributes from $_GET, $_POST and $_REQUEST.
  2. Start a session to keep track of state between requests from the client.
  3. Construct an ActionController to process the action.
  4. Process the route




Tags:



[ Top ]


Documentation generated on Thu, 04 May 2006 19:47:33 -0600 by phpDocumentor 1.3.0RC4