Manual Reference Pages - MOJOMOJO::CONTROLLER::ADMIN (3)
MojoMojo::Controller::Admin - Site Administration
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.
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 processing.
Returns true when a submitted form was actually processed.
update_user ( *private*)
Update user based on user listing.
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 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).
Marcus Ramberg <email@example.com>
This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.
|perl v5.20.3 ||MOJOMOJO::CONTROLLER::ADMIN (3) ||2011-09-02 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.