Class JResponseJson
JSON Response class.
This class serves to provide the Joomla Platform with a common interface to access response variables for e.g. Ajax requests.
Package: Joomla\Libraries\Response
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 3.1
Located at cms/response/json.php
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 3.1
Located at cms/response/json.php
Methods summary
public
|
#
__construct( mixed $response = null, string $message = null, boolean $error = false, boolean $ignoreMessages = false )
Constructor |
public
string
|
Magic methods summary
Properties summary
public
boolean
|
$success |
#
Determines whether the request was successful |
public
string
|
$message |
#
The main response message |
public
array
|
$messages |
#
Array of messages gathered in the JApplication object |
public
mixed
|
$data |
#
The response data |