NAME
Catalyst::Action - Catalyst Action
SYNOPSIS
<form action="[%c.uri_for(c.action)%]">
DESCRIPTION
This class represents a Catalyst Action. You can access the object for the currently dispatched action via $c->action. See the Catalyst::Dispatcher for more information on how actions are dispatched. Actions are defined in Catalyst::Controller subclasses.
METHODS
attributes
The sub attributes that are set for this action, like Local, Path, Private and so on. This determines how the action is dispatched to.
class
Returns the class name where this action is defined.
code
Returns a code reference to this action.
dispatch( $c )
Dispatch this action against a context
execute( $controller, $c, @args )
Execute this action's coderef against a given controller with a given context and arguments
match( $c )
Check Args attribute, and makes sure number of args matches the setting. Always returns true if Args is omitted.
namespace
Returns the private namespace this action lives in.
reverse
Returns the private path for this action.
name
returns the sub name of this action.
meta
Provided by Moose
AUTHORS
Catalyst Contributors, see Catalyst.pm
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.