Tomas Doran > Catalyst-Runtime-5.90015 > Catalyst::ActionChain

Download:
Catalyst-Runtime-5.90015.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  23
Open  15
Stalled  1
View/Report Bugs
Source   Latest Release: Catalyst-Runtime-5.90075

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 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

number_of_captures

Returns the total number of captures for the entire chain of actions.

meta

Provided by Moose

AUTHORS ^

Catalyst Contributors, see Catalyst.pm

COPYRIGHT ^

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: