\Horde_Core_Ajax_Application_Handler_Groups

Defines AJAX calls used to interact with Horde Groups.

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.

Summary

Methods
Properties
Constants
__construct()
__get()
external()
has()
readonly()
listGroups()
$vars
No constants found
No protected methods found
$_base
$_external
$_ignored
$_readOnly
N/A
No private methods found
No private properties found
N/A

Properties

$vars

$vars : \Horde_Variables

The Variables object.

Type

\Horde_Variables

$_external

$_external : array

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

outside of the Horde framework).

Type

array

$_ignored

$_ignored : array

A list of public method names to ignore as actions.

Type

array

$_readOnly

$_readOnly : array

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

Type

array

Methods

__construct()

__construct(\Horde_Core_Ajax_Application  $base) 

Constructor.

Parameters

\Horde_Core_Ajax_Application $base

The base AJAX application object.

__get()

__get(  $name) 

Parameters

$name

external()

external(string  $action) : boolean

Is the action accessible externally?

Parameters

string $action

An AJAX action.

Returns

boolean —

True if the action is acessible externally.

has()

has(string  $action) : boolean

Determines if the action exists in this handler.

Parameters

string $action

An AJAX action.

Returns

boolean —

True if the action exists.

readonly()

readonly(string  $action) : boolean

Is the action marked read-only?

Parameters

string $action

An AJAX action.

Returns

boolean —

True if the action is read-only.

listGroups()

listGroups() : object

Returns a hash of group IDs and group names that the user has access to.

Returns

object —

Object with the following properties:

  • groups: (array) Groups hash.