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.

  • abstract:
  • since: 3.1
  • version: $Id: TJsonService.php 2574 2008-11-30 23:09:51Z carlgmathisen $
  • author: Wei Zhuo <weizhuo[at]gmail[dot]com>

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

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

Documentation generated on Sun, 24 May 2009 16:47:49 -0400 by phpDocumentor 1.3.0RC4