Factory class for creating Action objects
An Action is a single operation requested by the user. What action is to be performed is determined by the action-triage mechanism in the class ActionFactory.
Everything done by an application suite (e.g. edit/create a user) can be reduced to broad categories of actions (e.g. edituser) which can be encapsulated within an object framework in which every object has the same interface.
The invoking code is thus boiled down to something quite simple:
The action object then actually performs the tasks desired by the user.
Here, we use the data from the browser (a PATH_INFO variable from the URL in the form index.php/user) to triage the transaction.
Located in /inc/actions/actionfactory.php (line 85)
Constructor for the class
Is it ok to allow the HTML template to dump to the browser from the output buffer?
(see BufferedAction descendents)
Cause buffered actions to output their data to the browser
(see BufferedAction descendents)
Trigger a restart of the action or a new action
Sometimes, an action may need to be restarted or the action changed (e.g. logout => login)
Determine what action should be performed.
This is done by:
Parse the user-supplied data from either the GET or POST data
create the action object (a descendent of ActionAction) for the user-defined verb
Documentation generated on Tue, 06 Mar 2007 10:00:28 +0000 by phpDocumentor 1.3.0