Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
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 |
Références $app, $message, $messages, Factory\getApplication(), et null.
__toString | ( | ) |
Magic toString method for sending the response in JSON format
Références $this.
$data = null |
$message = null |
$messages = null |
$success = true |