Handles JSRS requests
JSRS is an acronym for Javascript Remote Scripting. It's a library that is able to perform calls to PHP functions from inside a Javascript code block. Internally, the request is performed through a hidden IFRAME element.
This class handles these requests. Parses the request, calls the requested function or method and prints its results.
Located in /core/service/JSRSService.class.php (line 47)
PHP2Go | --AbstractService | --JSRSService
JSRS context ID
Inherited from AbstractService
AbstractService::$errorHandling
AbstractService::$fallbackHandler
AbstractService::$handlerId
AbstractService::$handlerParams
AbstractService::$handlers
Utility method to convert an array into a string with separators
Verifies if JSRS debug flag is present in the request
Get the singleton of the JSRSService class
Tries to parse context ID, handler ID and handler arguments from the request
Handles errors when error handling is enabled
Executed when JSRS handler ID is invalid
Executed when JSRS handler ID is not found in the request
Builds and prints the response produced by the JSRS handler
Escape some special chars inside a response
Inherited From AbstractService
AbstractService::AbstractService()
AbstractService::acceptRequest()
AbstractService::handleRequest()
AbstractService::onError()
AbstractService::onInvalidHandler()
AbstractService::onMissingHandler()
AbstractService::registerHandler()
AbstractService::registerObject()
AbstractService::sendResponse()
AbstractService::setErrorHandling()
AbstractService::setFallbackHandler()
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:26:54 -0300 by phpDocumentor 1.3.2