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:

uses:  Session::start()
usedby:  dispatch.php - $Id: dispatch.php 199 2006-05-05 01:52:43Z haas $
uses:  InputFilter::process_all()
uses:  ActionController::__construct()
uses:  ActionController::process_with_exception()
uses:  ActionController::process_route()


[ Top ]


Documentation generated on Mon, 21 May 2007 22:28:28 -0600 by phpDocumentor 1.3.2