1Catalyst::ActionContainUesre(r3)Contributed Perl DocumenCtaattailoynst::ActionContainer(3)
2
3
4
6 Catalyst::ActionContainer - Catalyst Action Container
7
9 See Catalyst.
10
12 This is a container for actions. The dispatcher sets up a tree of these
13 to represent the various dispatch points in your application.
14
16 new(\%data | $part)
17 Can be called with { part => $part, actions => \%actions } for full
18 construction or with just a part, which will result in an empty actions
19 hashref to be populated via add_action later
20
21 get_action($name)
22 Returns an action from this container based on the action name, or
23 undef
24
25 add_action($action, [ $name ])
26 Adds an action, optionally providing a name to override $action->name
27
28 actions
29 Accessor to the actions hashref, containing all actions in this
30 container.
31
32 part
33 Accessor to the path part this container resolves to. Also what the
34 container stringifies to.
35
36 meta
37 Provided by Moose
38
40 Catalyst Contributors, see Catalyst.pm
41
43 This library is free software. You can redistribute it and/or modify it
44 under the same terms as Perl itself.
45
46
47
48perl v5.12.1 2009-11-22 Catalyst::ActionContainer(3)