\JResponseJson
JSON Response class.
This class serves to provide the Joomla Platform with a common interface to access
response variables for e.g. Ajax requests.
Synopsis
Members
public
- $data
—
mixed
The response data - $message
—
string
The main response message - $messages
—
array
Array of messages gathered in the JApplication object - $success
—
boolean
Determines whether the request was successful
Methods
public
- __construct() — Constructor
- __toString() — Magic toString method for sending the response in JSON format