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
18 Can be called with { part => $part, actions => \%actions } for full
19 construction or with just a part, which will result in an empty actions
20 hashref to be populated via add_action later
21
22 get_action($name)
23
24 Returns an action from this container based on the action name, or
25 undef
26
27 add_action($action, [ $name ])
28
29 Adds an action, optionally providing a name to override $action->name
30
31 actions
32
33 Accessor to the actions hashref, containing all actions in this con‐
34 tainer.
35
36 part
37
38 Accessor to the path part this container resolves to. Also what the
39 container stringifies to.
40
42 Matt S. Trout
43
45 This program is free software, you can redistribute it and/or modify it
46 under the same terms as Perl itself.
47
48
49
50perl v5.8.8 2007-09-20 Catalyst::ActionContainer(3)