Documentation

Horde_Core_Ajax_Application_Handler_Chunk extends Horde_Core_Ajax_Application_Handler
in package

Defines AJAX calls used to send raw content to the browser.

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

$vars  : Horde_Variables
$_base  : Horde_Core_Ajax_Application
The base AJAX application object.
$_external  : array<string|int, mixed>
A list of public method names that can be accessed externally (i.e.
$_ignored  : array<string|int, mixed>
A list of public method names to ignore as actions.
$_readOnly  : array<string|int, mixed>
A list of actions that require read-only session access.

Methods

__construct()  : mixed
Constructor.
__get()  : mixed
chunkContent()  : object
Loads a chunk of PHP code (usually an HTML template) from the application's templates directory.
external()  : bool
Is the action accessible externally?
has()  : bool
Determines if the action exists in this handler.
readonly()  : bool
Is the action marked read-only?

Properties

$vars

public Horde_Variables $vars

The Variables object.

$_external

A list of public method names that can be accessed externally (i.e.

protected array<string|int, mixed> $_external = array()

outside of the Horde framework).

$_ignored

A list of public method names to ignore as actions.

protected array<string|int, mixed> $_ignored = array()

$_readOnly

A list of actions that require read-only session access.

protected array<string|int, mixed> $_readOnly = array()

Methods

__get()

public final __get(mixed $name) : mixed
Parameters
$name : mixed

chunkContent()

Loads a chunk of PHP code (usually an HTML template) from the application's templates directory.

public chunkContent() : object
Return values
object

Object with the following properties:

  • chunk: (string) A chunk of PHP output.

external()

Is the action accessible externally?

public final external(string $action) : bool
Parameters
$action : string

An AJAX action.

Return values
bool

True if the action is acessible externally.

has()

Determines if the action exists in this handler.

public final has(string $action) : bool
Parameters
$action : string

An AJAX action.

Return values
bool

True if the action exists.

readonly()

Is the action marked read-only?

public final readonly(string $action) : bool
Parameters
$action : string

An AJAX action.

Return values
bool

True if the action is read-only.


        
On this page

Search results