[ Index ]
 

Code source de PHPonTrax 2.6.6-svn

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/vendor/trax/ -> dispatcher.php (sommaire)

File containing the Dispatcher class (PHP 5)

Copyright: (c) 2005 John Peterson
Version: $Id: dispatcher.php 245 2006-08-23 06:15:06Z john $
Poids: 74 lignes (3 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Dispatcher:: (1 méthode):
  dispatch()


Classe: Dispatcher  - X-Ref

Singleton class to call controller selected by HTTP request

dispatch()   X-Ref
Dispatch a request from Apache

Called from file dispatch.php, which is invoked by
{@link http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html Apache mod_rewrite}
whenever a client makes a request.  Actions:
<ol>
<li>Remove forbidden tags and attributes from
{@link http://www.php.net/reserved.variables#reserved.variables.get $_GET},
{@link http://www.php.net/reserved.variables#reserved.variables.post $_POST} and
{@link http://www.php.net/reserved.variables#reserved.variables.request $_REQUEST}.
<li>Start a session to keep track of state between requests from
the client.</li>
<li>Construct an ActionController to process the action.</li>
<li>Process the route</li>
</ol>



Généré le : Sun Feb 25 20:04:38 2007 par Balluche grâce à PHPXref 0.7