Class TJsonResponse

Description

TJsonResponse Class

TJsonResponse is the base class for all JSON response provider classes.

Derived classes must implement getJsonContent() to return an object or literals to be converted to JSON format. The response will be empty if the returned content is null.

  • author: Wei Zhuo <weizhuo[at]gmail[dot]com>
  • version: $Id: TJsonService.php 3097 2012-01-25 10:07:41Z ctrlaltca@gmail.com $
  • abstract:
  • since: 3.1

Located in /Web/Services/TJsonService.php (line 179)

TComponent
   |
   --TApplicationComponent
      |
      --TJsonResponse
Method Summary
string getID ()
object json getJsonContent ()
void init (TXmlElement $config)
void setID (string $value)
Methods

Documentation generated on Mon, 25 Jun 2012 14:38:32 +0200 by phpDocumentor 1.4.3