Labyrinth::Request - Request Manager for Labyrinth
use Labyrinth::Request; # database object creation my ($content,@actions) = Request($realm);
The Request package, given a request string (or defaults), will retrieve the appropriate actions, template file and continuations for that request.
The configuration of request settings can either be held within INI files within a designated path or in request table within a database.
If using INI files, each file represents a collection of commands within a single section. There is one special section, 'realm', which describes the overall layout files, actions and continuations for the type of account. Typically there are at least two realms, 'public' and 'admin'. To describe the path to these request files, the following should exist within your global settings file:
Alternative if you wish to use the request settings from a database table, in your globale settings file, you will need the following setting:
For more information for the database method, please see the Labyrinth::Request distribution.
Create a new request object.
For the current command request, return the next action within its action list.
Add actions to the action list for the current command request.
Reloads settings for a new realm setting.
Reloads settings for a new command request.
Instead of a local template file or a continuation, a redirect may be used. This method reformats the URL within a redirect request.
Layout template to be used
Content template to be used
Command to execute if this command succeeds.
Command to execute if this command fails.
Command to execute if this command fails with an unrecoverable error.
Barbie, <firstname.lastname@example.org> for Miss Barbell Productions, http://www.missbarbell.co.uk/
Copyright (C) 2002-2013 Barbie for Miss Barbell Productions All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the Artistic License 2.0.