Christopher H. Laco > Mango-0.01000_13 > Mango::Catalyst::Plugin::Application

Download:
Mango-0.01000_13.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Mango::Catalyst::Plugin::Application - Catalyst plugin loading all Mango specific plugins

SYNOPSIS ^

    use Catalyst qw/
        -Debug
        ConfigLoader
        Mango::Catalyst::Plugin::Application
        Static::Simple
    /;

DESCRIPTION ^

Mango::Catalyst::Plugin::Application loads all Mango related plugins into a Catalyst application.

METHODS ^

redirect_to_login

Redirects the user to the current login page, storing the current pages uri to return to using redirect_from_login.

redirect_from_login

Redirects the user back to the page they were visiting before having to login.

register_resource

Arguments: $name, $class

Associates the specified class with the given name so controllers can be referred to by a nickname with Mango code when the class name is unknown or may change in subclasses.

uri_for_resource

Arguments: $name, $action, @args

Looks up the class name for the specified resource and returns a uri for the given action using uri_for.

SEE ALSO ^

Mango::Catalyst::Plugin::Authentication, Mango::Catalyst::Plugin::I18N

AUTHOR ^

    Christopher H. Laco
    CPAN ID: CLACO
    claco@chrislaco.com
    http://today.icantfocus.com/blog/
syntax highlighting: