TJsonService class provides to end-users javascript content response in JSON format.
TJsonService manages a set of TJsonResponse, each representing specific response with javascript content. The service parameter, referring to the ID of the service, specifies which javascript content to be provided to end-users.
To use TJsonService, configure it in application configuration as follows,
PHP configuration style:
To retrieve the JSON content provided by "get_article", use the URL
Located in /Web/Services/TJsonService.php (line 54)
TComponent | --TApplicationComponent | --TService | --TJsonService
Renders content provided by TJsonResponse::getJsonContent() as javascript in JSON format.
Initializes this module.
This method is required by the IModule interface.
Load the service definitions.
Runs the service.
This method is invoked by application automatically.
Inherited From TService
TService::getEnabled()
TService::getID()
TService::init()
TService::run()
TService::setEnabled()
TService::setID()
Inherited From TApplicationComponent
TApplicationComponent::getApplication()
TApplicationComponent::getRequest()
TApplicationComponent::getResponse()
TApplicationComponent::getService()
TApplicationComponent::getSession()
TApplicationComponent::getUser()
TApplicationComponent::publishAsset()
TApplicationComponent::publishFilePath()
Inherited From TComponent
TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__call()
TComponent::__get()
TComponent::__set()
TComponent::__sleep()
TComponent::__wakeup()
Documentation generated on Mon, 25 Jun 2012 14:38:33 +0200 by phpDocumentor 1.4.3