GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOJOMOJO::CONTROLLER::ROOT (3)

.ds Aq ’

NAME

MojoMojo::Controller::Root - Controller to run before all others

CONTENTS

ACTIONS

    begin (builtin)

TODO

    default (global)

Default action - display the error page (message.tt), for example when a nonexistent action was requested (like /parent_page/child_page.fireworks).

    set_lang

(Re)set language of current session.

    render

Finally, use ActionClass RenderView to render the content.

    end (builtin)

At the end of any request, forward to view unless there is a template or response, then render the template. If param ’die’ is passed, show a debug screen.

    auto

Runs for all requests, checks if user is in need of validation, and intercepts the request if so. Also, if the requested page doesn’t exist, prevents any other actions from running, and detaches straight to suggest in MojoMojo::Controller::Page.

    exit

A way to exit from MojoMojo. Useful when testing leaks.

AUTHOR

Marcus Ramberg <mramberg@cpan.org>

LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOJOMOJO::CONTROLLER::ROOT (3) 2013-05-12

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.