PHPonTrax
[ class tree: PHPonTrax ] [ index: PHPonTrax ] [ all elements ]
Prev Next
Dispatcher

Dispatcher

Restore session state, then process URL

Table of Contents

Introduction

Dispatcher is a singleton class (although not enforced by the constructor) with one method. When Apache receives an HTTP request, Apache mod_rewrite converts the URL to an invocation of dispatch.php with the URL as argument. dispatch.php instantiates a Dispatcher and calls its dispatch() method, which restores session state and creates an ActionController object to process the URL.

Prev   Next
ScaffoldController TraxError

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