PHP Class Horde_Core_Ajax_Response, horde

Copyright 2012-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Slusarz ([email protected])
Exibir arquivo Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$data mixed Response data to send to the browser.

Public Methods

Method Description
__construct ( mixed $data = null ) Constructor.
send ( ) Send response data to browser.
sendAndExit ( ) Send response data to browser and ends script execution.

Method Details

__construct() public method

Constructor.
public __construct ( mixed $data = null )
$data mixed Response data to send to browser.

send() public method

Send response data to browser.
public send ( )

sendAndExit() public method

Send response data to browser and ends script execution.
public sendAndExit ( )

Property Details

$data public_oe property

Response data to send to the browser.
public mixed $data
return mixed