Public Member Functions

AjaxHandler Class Reference

Inheritance diagram for AjaxHandler:
Collaboration diagram for AjaxHandler:

List of all members.

Public Member Functions

 act_ajax ()
 act_auth_ajax ()

Detailed Description

Handles Ajax requests, sending them to plugin sinks.

Definition at line 11 of file ajaxhandler.php.


Member Function Documentation

AjaxHandler::act_ajax (  ) 

Handles incoming ajax requests for which the user need not be authenticated. Forwards the request to plugin actions for the "context" portion of the URL. The following example would set the context of 'foo' and trigger the plugin action 'ajax_foo'.

URL::get( 'ajax', 'context=foo' );

Triggers the ajax plugin action for the context.

See also:
AjaxHandler::act_ajax() ajax_{$context}

Definition at line 23 of file ajaxhandler.php.

AjaxHandler::act_auth_ajax (  ) 

Handles incoming ajax requests for which the user must be authenticated. Forwards the request to plugin actions for the "context" portion of the URL.

See also:
act_ajax()

Triggers the ajax plugin action for the context if user is authenticated.

See also:
act_auth_ajax() ajax_auth_{$context}

Definition at line 40 of file ajaxhandler.php.


The documentation for this class was generated from the following file: