Changeset 155 for trunk/trax/vendor/trax/dispatcher.php
- Timestamp:
- 02/28/06 12:49:52 (6 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/dispatcher.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/dispatcher.php
r138 r155 30 30 31 31 /** 32 * Singleton class to call controller selected by HTTP request 32 33 * 33 * @ package PHPonTrax34 * @tutorial PHPonTrax/Dispatcher.cls 34 35 */ 35 36 class Dispatcher { 36 37 37 38 /** 39 * Dispatch a request from Apache 38 40 * 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() 39 51 */ 40 52 function dispatch() { … … 45 57 $ac->process_route(); 46 58 } catch(Exception $e) { 47 $ac->process_with_exception( &$e);59 $ac->process_with_exception($e); 48 60 } 49 61 }
