Horde_Core_Ajax_Response
in package
A data object that represents JSON response data.
Copyright 2012-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
Properties
- $data : mixed
- Response data to send to the browser.
Methods
- __construct() : mixed
- Constructor.
- send() : mixed
- Send response data to browser.
- sendAndExit() : mixed
- Send response data to browser and ends script execution.
Properties
$data
Response data to send to the browser.
public
mixed
$data
= \null
Methods
__construct()
Constructor.
public
__construct([mixed $data = null ]) : mixed
Parameters
- $data : mixed = null
-
Response data to send to browser.
send()
Send response data to browser.
public
send() : mixed
sendAndExit()
Send response data to browser and ends script execution.
public
sendAndExit() : mixed