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::ADMIN (3)

.ds Aq ’

NAME

MojoMojo::Controller::Admin - Site Administration

CONTENTS

DESCRIPTION

Action to handle management of MojoMojo. Click the admin link at the bottom of the page while logged in as admin to access these functions.

METHODS

    auto

Access control. Only administrators should access functions in this controller.

    settings ( /.admin )

Show settings screen.

    user ( .admin/user )

User listing with pager, for enabling/disabling users.

    role ( .admin/role )

Role listing, creation and assignment.

    create_role ( .admin/create_role )

Role creation page.

    edit_role ( .admin/role/ )

Role edit page.

    handle_role_form

Handle role form processing. Returns true when a submitted form was actually processed.

    update_user ( *private*)

Update user based on user listing.

    precompile_pages

Make a formatted version of content body and store it in content.precompiled. This makes MojoMojo go zing, when loading content for page requests.

Depending on the number of pages, and versions of them, this could take some minutes. For 2000 page versions on a 2.4 GHz desktop this script took about 3 minutes to run.

    delete

Delete a page and its descendants. This is in MojoMojo::Controller::Admin because we are restricting page deletion to admins only for the time being.

TODO: this method should reside in the Model, not in a Controller (issue #87).

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::ADMIN (3) 2011-09-02

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