Show
Ignore:
Timestamp:
02/28/06 12:49:52 (6 years ago)
Author:
haas
Message:

more documentation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/dispatcher.php

    r138 r155  
    3030 
    3131/** 
     32 *  Singleton class to call controller selected by HTTP request 
    3233 * 
    33  *  @package PHPonTrax 
     34 *  @tutorial PHPonTrax/Dispatcher.cls 
    3435 */ 
    3536class Dispatcher { 
    3637 
    3738    /** 
     39     *  Dispatch a request from Apache 
    3840     * 
     41     *  Called from file dispatch.php, which is invoked by 
     42     *  {@link http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html Apache mod_rewrite} 
     43     *  whenever a client makes a request. 
     44     *  Filter ???, start a session, construct an ActionController and 
     45     *  process the route. 
     46     *  @uses ActionController::__construct() 
     47     *  @uses ActionController::process_route() 
     48     *  @uses ActionController::process_with_exception() 
     49     *  @uses InputFilter::process_all() 
     50     *  @uses Session::start() 
    3951     */ 
    4052    function dispatch() { 
     
    4557            $ac->process_route(); 
    4658        } catch(Exception $e) { 
    47             $ac->process_with_exception(&$e); 
     59            $ac->process_with_exception($e); 
    4860        } 
    4961    }