Horde_Core_Ajax_Response_Notifications
extends Horde_Core_Ajax_Response
in package
A data object that represents only JSON notification 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.
- jsonData() : object
- Prepare JSON data response object.
- 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
jsonData()
Prepare JSON data response object.
public
jsonData() : object
Only return notification data.
Return values
object —Data response object.
send()
Send response data to browser.
public
send() : mixed
sendAndExit()
Send response data to browser and ends script execution.
public
sendAndExit() : mixed