Documentation

Horde_Core_Ajax_Response_Raw extends Horde_Core_Ajax_Response
in package

A response object that directly outputs the 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
author

Michael Slusarz slusarz@horde.org

category

Horde

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

Properties

$charset  : string
Charset of the data (if of type text/*).
$data  : mixed
Response data to send to the browser.
$type  : string
Content-type of the data.

Methods

__construct()  : mixed
Constructor.
send()  : mixed
Send response data to browser.
sendAndExit()  : mixed
Send response data to browser and ends script execution.

Properties

$charset

Charset of the data (if of type text/*).

public string $charset

$data

Response data to send to the browser.

public mixed $data = \null

$type

Content-type of the data.

public string $type

Methods

__construct()

Constructor.

public __construct([mixed $data = null ][, string $type = 'text/plain' ][, string $charset = 'UTF-8' ]) : mixed
Parameters
$data : mixed = null

Response data to send to browser.

$type : string = 'text/plain'

Content-type of the data.

$charset : string = 'UTF-8'

Charset of the data (if of type text/*).

send()

Send response data to browser.

public send() : mixed

sendAndExit()

Send response data to browser and ends script execution.

public sendAndExit() : mixed

        
On this page

Search results