\JJsonResponse
JSON Response class
Synopsis
Members
public
- $data
—
mixed
The response data - $error
—
boolean
Determines whether the request wasn't successful. - $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