Catalyst::ActionChain.3pm

Langue: en

Version: 2007-09-20 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Catalyst::ActionChain - Chain of Catalyst Actions

SYNOPSIS

See Catalyst::Manual::Intro for more info about Chained actions.

DESCRIPTION

This class represents a chain of Catalyst Actions. It behaves exactly like the action at the *end* of the chain except on dispatch it will execute all the actions in the chain in order.

METHODS


chain

Accessor for the action chain; will be an arrayref of the Catalyst::Action objects encapsulated by this chain.

dispatch( $c )


dispatch( $c )

Dispatch this action chain against a context; will dispatch the encapsulated actions in order.

from_chain( \@actions )

Takes a list of Catalyst::Action objects and constructs and returns a Catalyst::ActionChain object representing a chain of these actions

AUTHOR

Matt S. Trout This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.