Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct ($response=null, $message=null, $error=false, $ignoreMessages=false) | |
__toString () | |
Champs de données | |
$success = true | |
$message = null | |
$messages = null | |
$data = null | |
JSON Response class.
This class serves to provide the Joomla Platform with a common interface to access response variables for e.g. Ajax requests.
Constructor
mixed | $response | The Response data |
string | $message | The main response message |
boolean | $error | True, if the success flag shall be set to false, defaults to false |
boolean | $ignoreMessages | True, if the message queue shouldn't be included, defaults to false |
__toString | ( | ) |
Magic toString method for sending the response in JSON format
Références json_encode.
$data = null |
$message = null |
$messages = null |
$success = true |