Extracted at 2009-10-25.
pike.ida.liu.se
[Top]
Fins
Fins.FinsController

Class Fins.FinsController

Description

this is the base Controller class in Fins. The controller is used to map incoming requests to functions that are called to handle the request.

event methods have this signature:

void func(Fins.Request request, Fins.Response response, mixed ... args);

where func is the name of the event that will trigger the event function to be called.

Note

When using FinServe, an event that produces no output will return a "unable to find a handler" 404 error. The event will still fire, though.


Inherit FinsBase

inherit Fins.FinsBase : FinsBase




Constant __uses_session

constant Fins.FinsController.__uses_session

Description

set this to zero to avoid session redirects


Constant __is_cacheable

constant Fins.FinsController.__is_cacheable

Description

set this to zero to prevent this controller from being cached in the request-to-controller mapping.