NAME

Labyrinth::Request - Determines the actions and content required of a request.

SYNOPSIS

use Labyrinth::Request;

# database object creation
my ($content,@actions) = Request($realm);

DESCRIPTION

The Request package, given a request string (or defaults), will retrieve the appropriate actions and template file for that request.

FUNCTIONS

Constructor

new()

Methods

Handling Actions

next_action()
add_actions(@actions)

Handling Command Resets

reset_realm($realm)
reset_request($request)
redirect

Accessor Methods

layout

Layout template to be used

content

Content template to be used

onsuccess

Command to execute if this command succeeds.

onfailure

Command to execute if this command fails.

onerror

Command to execute if this command fails with an unrecoverable error.

SEE ALSO

Config::IniFiles
Labyrinth

AUTHOR

Barbie, <barbie@missbarbell.co.uk> for Miss Barbell Productions, http://www.missbarbell.co.uk/

COPYRIGHT & LICENSE

Copyright (C) 2002-2011 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.