JsonResponse
class JsonResponse
JSON Response class.
This class serves to provide the Joomla Platform with a common interface to access response variables for e.g. Ajax requests.
Properties
Methods
__construct(
mixed $response = null,
string $message = null,
boolean $error = false,
boolean $ignoreMessages = false)
Constructor
string
__toString()
Magic toString method for sending the response in JSON format