Base service class
This is the base class for JSRSService and AjaxService, which are classes that handle calls performed from Javascript code.
Located in /core/service/AbstractService.class.php (line 52)
PHP2Go | --AbstractService
| Class | Description |
|---|---|
| AjaxService | Handles AJAX remote function/method calls |
| JSRSService | Handles JSRS requests |
Error handling flag
Fallback handler
Requested handler ID
Request parameters
Registered handlers
Must be implemented by child classes
Triggers request handling and processing
Parses the request parameters. If the request is a valid request, this method tries to find a handler to handle the incoming request.
Must be implemented by child classes
Must be implemented by child classes
Must be implemented by child classes
Registers a new handler
The handler can be a procedural function, a class/method or an object/method pair (the last two represented by an array).
Register methods of an object as handlers
A method prefix can be defined, so that only methods that respect this pattern will be recognized.
Example:
Must be implemented by child classes
Enables/disables error handling while calling service handlers
Register a handler to be called when an invalid handler ID is requested
Inherited From PHP2Go
PHP2Go::PHP2Go()
PHP2Go::equals()
PHP2Go::generateUniqueId()
PHP2Go::getClassName()
PHP2Go::getConfigVal()
PHP2Go::getLangVal()
PHP2Go::getObjectName()
PHP2Go::getParentName()
PHP2Go::hasDestructor()
PHP2Go::hashCode()
PHP2Go::isA()
PHP2Go::isSubclassOf()
PHP2Go::logError()
PHP2Go::raiseError()
PHP2Go::registerDestructor()
PHP2Go::registerShutdownFunc()
PHP2Go::retrieve()
PHP2Go::store()
PHP2Go::__toString()
Documentation generated on Sun, 07 Oct 2007 19:19:53 -0300 by phpDocumentor 1.3.2