[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2013 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 122 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
JsonResponse:: (2 methods):
__construct()
__toString()
Class: JsonResponse - X-Ref
JSON Response class.__construct($response = null, $message = null, $error = false, $ignoreMessages = false) X-Ref |
Constructor param: mixed $response The Response data param: string $message The main response message param: boolean $error True, if the success flag shall be set to false, defaults to false param: boolean $ignoreMessages True, if the message queue shouldn't be included, defaults to false |
__toString() X-Ref |
Magic toString method for sending the response in JSON format return: string The response in JSON format |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |