
Catalyst::Base - Catalyst Base Class

See Catalyst

Catalyst Base Class
This is the base class for all Catalyst components. It is a subclass of Catalyst::Component which is the universal base class for catalyst components. This module includes handling of dispatching for controller actions.

Proxies through to NEXT::new and stashes the application instance as $self->_application.
Returns the Catalyst::Action object (if any) for a given method name in this component.
Returns the private namespace for actions in this component. Defaults to a value from the controller name (for e.g. MyApp::Controller::Foo::Bar becomes "foo/bar") or can be overriden from the "namespace" config key.
Returns the default path prefix for :Local, :LocalRegex and relative :Path actions in this component. Defaults to the action_namespace or can be overriden from the "path" config key.
Finds all applicable actions for this component, creates Catalyst::Action objects (using $self->create_action) for them and registers them with $c->dispatcher.
Called with a hash of data to be use for construction of a new Catalyst::Action (or appropriate sub/alternative class) object.
Primarily designed for the use of register_actions.
Returns the application instance stored by new()

Catalyst, Catalyst::Controller.

Sebastian Riedel,
sri@cpan.org Marcus Ramberg,
mramberg@cpan.org Matt S Trout,
mst@shadowcatsystems.co.uk

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