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

.ds Aq ’

NAME

MojoMojo::Controller::Jsrpc - Various JSRPC functions.

CONTENTS

SYNOPSIS

This is the Mojo powering our AJAX features.

DESCRIPTION

This controller dispatches various data to ajax methods in mojomojo These methods will be called indirectly through javascript functions.

ACTIONS

    render ( /.jsrpc/render )

Edit uses this to get live preview. It gets some content in params->{content} and runs it through the formatter chain.

    child_menu ( /.jsrpc/child_menu?page_id=$page_id )

Returns a list of children for the page given by the page_id parameter, formatted for inclusion in a vertical tree navigation menu.

    diff ( /.jsrpc/diff )

Loads diff on demand. Takes an absolute revision number as arg, and diffs it against the previous version.

    submittag ( /.jsrpc/submittag )

Add a tag through form submit

    tag ( /.jsrpc/tag )

Add a tag to a page. Returns a list of yours and popular tags.

    untag ( /.jsrpc/untag )

Remove a tag from a page. Returns a list of yours and popular tags.

    imginfo ( .jsrpc/imginfo )

Inline info on hover for gallery photos.

    usersearch ( .jsrpc/usersearch )

Backend that handles jQuery autocomplete requests for users.

    set_permissions ( .jsrpc/set_permissions )

Sets page permissions.

    clear_permissions ( .jsrpc/clear_permissions )

Clears this page permissions for a given role (making permissions inherited).

    validate_perm_edit

Validates if the user is able to edit permissions and if a role was supplied.

AUTHOR

Marcus Ramberg <mramberg@cpan.org>, David Naughton <naughton@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::JSRPC (3) 2014-12-20

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