Documentation

Horde_Core_Ajax_Response_HordeCore_SessionTimeout extends Horde_Core_Ajax_Response_HordeCore
in package

Sends a session timeout request to the HordeCore JS framework.

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

$cssfiles  : array<string|int, mixed>
CSS files to be loaded by the browser.
$data  : mixed
Response data to send to the browser.
$jsfiles  : array<string|int, mixed>
JavaScript files to be loaded by the browser.
$jsonhtml  : bool
If true, output HTML-ized JSON instead of application/json.
$tasks  : object
Task data to send to the browser.
$_app  : string
App of the last JSON request.

Methods

__construct()  : mixed
Constructor.
send()  : mixed
Send response data to browser.
sendAndExit()  : mixed
Send response data to browser and ends script execution.
_jsonData()  : object
HordeCore JSON responses are a structured object which always includes the response in the 'response' property.

Properties

$cssfiles

CSS files to be loaded by the browser.

public array<string|int, mixed> $cssfiles = array()
Tags
since
2.25.0

$data

Response data to send to the browser.

public mixed $data = \null

$jsfiles

JavaScript files to be loaded by the browser.

public array<string|int, mixed> $jsfiles = array()
Tags
since
2.10.0

$jsonhtml

If true, output HTML-ized JSON instead of application/json.

public bool $jsonhtml = \false
Tags
since
2.12.0

$tasks

Task data to send to the browser.

public object $tasks = \null

Methods

__construct()

Constructor.

public __construct(string $app) : mixed
Parameters
$app : string

App of the last JSON request.

sendAndExit()

Send response data to browser and ends script execution.

public sendAndExit() : mixed

_jsonData()

HordeCore JSON responses are a structured object which always includes the response in the 'response' property.

protected _jsonData() : object
Return values
object

HordeCore JSON object.


        
On this page

Search results