Stud.IP  4.2 Revision
StudipDispatcher Class Reference
Inheritance diagram for StudipDispatcher:
Inheritance graph
Collaboration diagram for StudipDispatcher:
Collaboration graph

Public Member Functions

 __construct ()
 
 trails_error ($exception)
 

Detailed Description

Use this subclass to easily get an Stud.IP specific Trails_Dispatcher.

Example of use:

// deep in the Stud.IP jungle
$dispatcher->dispatch($requested_uri);

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Create a new Trails_Dispatcher with Stud.IP specific parameters for: trails_root is "$STUDIP_BASE_PATH/app", trails_uri is "dispatch.php" and default_controller is "default" (which does not map to anything).

Member Function Documentation

◆ trails_error()

trails_error (   $exception)

Adapted error method that just passes the exception to stud.ip's exception instead of the standard trails handling.

Parameters
Exception$exceptionThe exception that occured
Exceptions
Exception

The documentation for this class was generated from the following file: