JResponseJson::__construct
Constructor
Signature
public function __construct([mixed
$response = null,
[string
$message = null,
[boolean
$error = false,
[boolean
$ignoreMessages = false]]]] )
Parameters
-
$response
- The Response data
-
$message
- The main response message
-
$error
- True, if the success flag shall be set to false, defaults to false
-
$ignoreMessages
- True, if the message queue shouldn't be included, defaults to false