[ Index ]
 

Code source de PHPonTrax 2.6.6-svn

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

title

Body

[fermer]

/doc/tutorials/PHPonTrax/ -> Dispatcher.cls (source)

   1  <refentry id="{@id}" revision="$Id: Dispatcher.cls 192 2006-03-27 22:02:53Z haas $">
   2   <refnamediv>
   3    <refname>Dispatcher</refname>
   4    <refpurpose>Restore session state, then process URL</refpurpose>
   5   </refnamediv>
   6   <refsynopsisdiv>
   7    <author>
   8     Walt Haas
   9     <authorblurb>
  10      {@link mailto:haas@xmission.com haas@xmission.com}
  11     </authorblurb>
  12    </author>
  13   </refsynopsisdiv>
  14   {@toc}
  15   <refsect1 id="{@id intro}">
  16    <title>Introduction</title>
  17    <para>{@link Dispatcher} is a
  18    {@link http://en.wikipedia.org/wiki/Singleton_pattern singleton}
  19    class (although not enforced by the constructor) with one method.  When
  20    {@link http://httpd.apache.org/ Apache} receives an HTTP request,
  21    {@link http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html Apache mod_rewrite}
  22    converts the URL to an invocation of dispatch.php with the URL as argument.
  23    dispatch.php instantiates a Dispatcher and calls its
  24    {@link Dispatcher::dispatch() dispatch()}
  25    method, which restores session state and creates an
  26    {@tutorial PHPonTrax/ActionController.cls} object to process the URL.</para>
  27   </refsect1>
  28  </refentry>


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