Public Member Functions | |
| register ($className, Ajax_Remote_Service $object, $methods=null, $overwrite=false) | |
| handle (Ajax_Request $request) | |
Protected Attributes | |
| $register = array() | |
Ajax remote service broker serves the ajax request to the right ajax remote service and returns the response from the method invokation
Definition at line 316 of file ajax.lib.php.
| handle | ( | Ajax_Request $ | request | ) |
Handle an Ajax Request
| Ajax_Request | $request |
Definition at line 353 of file ajax.lib.php.
| register | ( | $ | className, | |
| Ajax_Remote_Service $ | object, | |||
| $ | methods = null, |
|||
| $ | overwrite = false | |||
| ) |
Register an Ajax Remote Service
| string | $className | |
| Ajax_Remote_Service | $object | |
| array | $methods or null to allow remote invokation of the public methods of the service (not recommanded) | |
| boolean | $overwrite set to true to averwrite a previous registration of the same service |
| Exception | if trying to overwrite accidentally (i.e. without setting $overwrite to true) an already registered service |
Definition at line 331 of file ajax.lib.php.
$register = array() [protected] |
Definition at line 318 of file ajax.lib.php.
1.6.3