Overview

Packages

  • Perms

Classes

  • Horde_Perms
  • Horde_Perms_Base
  • Horde_Perms_Datatree
  • Horde_Perms_Exception
  • Horde_Perms_Null
  • Horde_Perms_Permission
  • Horde_Perms_Permission_Datatree
  • Horde_Perms_Permission_Kolab
  • Horde_Perms_Permission_Kolab_Acl
  • Horde_Perms_Permission_Kolab_Acl_Anonymous
  • Horde_Perms_Permission_Kolab_Acl_Anyone
  • Horde_Perms_Permission_Kolab_Acl_Creator
  • Horde_Perms_Permission_Kolab_Acl_Group
  • Horde_Perms_Permission_Kolab_Acl_User
  • Horde_Perms_Permission_Kolab_AclIterator
  • Horde_Perms_Permission_Kolab_Element
  • Horde_Perms_Permission_Kolab_Element_Creator
  • Horde_Perms_Permission_Kolab_Element_Default
  • Horde_Perms_Permission_Kolab_Element_Group
  • Horde_Perms_Permission_Kolab_Element_Guest
  • Horde_Perms_Permission_Kolab_Element_User
  • Horde_Perms_Permission_Kolab_ElementIterator
  • Horde_Perms_Permission_Sql
  • Horde_Perms_Sql
  • Horde_Perms_Translation

Interfaces

  • Horde_Perms_Permission_Kolab_Storage
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Perms

The Horde_Perms package provides the Horde permissions system.

Copyright 2001-2012 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.

Package: Perms
Category: Horde
Author: Chuck Hagenbuch chuck@horde.org
Author: Jan Schneider jan@horde.org
Located at Horde/Perms.php
Methods summary
public static array
# getPermsArray( )

Returns an hash of the available permissions.

Returns an hash of the available permissions.

Returns

array
The available permissions as a hash.
public static TODO
# integerToArray( integer $int )

Given an integer value of permissions returns an array representation of the integer.

Given an integer value of permissions returns an array representation of the integer.

Parameters

$int
The integer representation of permissions.

Returns

TODO
Constants summary
integer SHOW

Existence of object is known - object is shown to user.

Existence of object is known - object is shown to user.

# 2
integer READ

Contents of the object can be read.

Contents of the object can be read.

# 4
integer EDIT

Contents of the object can be edited.

Contents of the object can be edited.

# 8
integer DELETE

The object can be deleted.

The object can be deleted.

# 16
integer ALL

A bitmask of all possible permission values.

A bitmask of all possible permission values.

Useful for removeXxxPermission(), unsetPerm(), etc. 30 = SHOW | READ | EDIT | DELETE

# 30
integer ROOT

The root permission.

The root permission.

# -1
API documentation generated by ApiGen