Marcus Ramberg > Catalyst-Runtime-5.7006 > Catalyst::Action

Download:
Catalyst-Runtime-5.7006.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  4
Open  7
Stalled  4
View Bugs
Report a bug
Source   Latest Release: Catalyst-Runtime-5.80013

NAME ^

Catalyst::Action - Catalyst Action

SYNOPSIS ^

See Catalyst.

DESCRIPTION ^

This class represents a Catalyst Action. You can access the object for the currently dispatched action via $c->action

METHODS ^

attributes

The sub attributes that are set for this action, like Local, Path, Private and so on.

class

Returns the class name of this action

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.

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.

AUTHOR ^

Matt S. Trout

COPYRIGHT ^

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