View on
MetaCPAN
Richard Clamp > Siesta-0.66 > Template::Plugin::Siesta

Download:
Siesta-0.66.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

Template::Plugin::Siesta - convenience class for Siesta template pages

METHODS ^

->new( {foo => 'bar'} )

creates a new Template::Siesta::Plugin from, using a hashref to provide arguments,

->new( foo => 'bar' )

creates a new Template::Siesta::Plugin from, using an array of name value pairs to provide arguments,

if the arguments contain an action request then ( see ->action() ) then the requested action will be performed before returning the new object;

->action

if called with no aruments, returns the currently defined action. if called with a string value, sets the action or warns of an error if the class cannot ->ACTION_$action

->error( $what )

blow an error

->errors

returns a list of errors that ocurred during an action request.

->success

Return value of the action

syntax highlighting: