Mango::Catalyst::Controller - Base controller for Catalyst controllers in Mango
package MyApp::Controller::Foo; use base 'Mango::Catalyst::Controller';
Mango::Catalyst::Controller is the base controller class used by all Catalyst controllers in Mango. It inherits the Form and REST controllers and provides some generic methods used by all Mango controllers.
The following configuration options are used directly by this controller:
If specified, this name will be sent to register_as_resource when the component is loaded.
register_as_resource
Returns the current page number from params or 1 if no page is specified.
Returns the number of entries par page to be displayed from params or 10 if no param is specified.
Registers the current class name as a resource associated with the specified name.
Mango::Catalyst::Controller::Form, Mango::Catalyst::Controller::REST
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Mango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mango
CPAN shell
perl -MCPAN -e shell install Mango
For more information on module installation, please visit the detailed CPAN module installation guide.