Overview

Packages

  • Kolab
    • Server

Classes

  • Horde_Kolab_Server_Composite
  • Horde_Kolab_Server_Connection_File
  • Horde_Kolab_Server_Connection_Mock
  • Horde_Kolab_Server_Connection_Mock_Ldap
  • Horde_Kolab_Server_Connection_Mock_Search
  • Horde_Kolab_Server_Connection_Simpleldap
  • Horde_Kolab_Server_Connection_Splittedldap
  • Horde_Kolab_Server_Decorator_Clean
  • Horde_Kolab_Server_Decorator_Count
  • Horde_Kolab_Server_Decorator_Log
  • Horde_Kolab_Server_Decorator_Map
  • Horde_Kolab_Server_Exception
  • Horde_Kolab_Server_Exception_Bindfailed
  • Horde_Kolab_Server_Exception_Novalue
  • Horde_Kolab_Server_Factory
  • Horde_Kolab_Server_Ldap
  • Horde_Kolab_Server_Ldap_Changes
  • Horde_Kolab_Server_Ldap_Filtered
  • Horde_Kolab_Server_Ldap_Standard
  • Horde_Kolab_Server_List_Base
  • Horde_Kolab_Server_Object_Attribute_Base
  • Horde_Kolab_Server_Object_Attribute_Createtimestamp
  • Horde_Kolab_Server_Object_Attribute_Createtimestampdate
  • Horde_Kolab_Server_Object_Attribute_Decorator
  • Horde_Kolab_Server_Object_Attribute_Default
  • Horde_Kolab_Server_Object_Attribute_Empty
  • Horde_Kolab_Server_Object_Attribute_External
  • Horde_Kolab_Server_Object_Attribute_Field
  • Horde_Kolab_Server_Object_Attribute_Firstnamelastname
  • Horde_Kolab_Server_Object_Attribute_Guid
  • Horde_Kolab_Server_Object_Attribute_Id
  • Horde_Kolab_Server_Object_Attribute_Internal
  • Horde_Kolab_Server_Object_Attribute_Locked
  • Horde_Kolab_Server_Object_Attribute_Modifytimestamp
  • Horde_Kolab_Server_Object_Attribute_Modifytimestampdate
  • Horde_Kolab_Server_Object_Attribute_Objectclass
  • Horde_Kolab_Server_Object_Attribute_Openldapaci
  • Horde_Kolab_Server_Object_Attribute_Required
  • Horde_Kolab_Server_Object_Attribute_Single
  • Horde_Kolab_Server_Object_Attribute_Value
  • Horde_Kolab_Server_Object_Attribute_Writelock
  • Horde_Kolab_Server_Object_Base
  • Horde_Kolab_Server_Object_Factory
  • Horde_Kolab_Server_Object_Groupofnames
  • Horde_Kolab_Server_Object_Hash
  • Horde_Kolab_Server_Object_Inetorgperson
  • Horde_Kolab_Server_Object_Kolab
  • Horde_Kolab_Server_Object_Kolab_Address
  • Horde_Kolab_Server_Object_Kolab_Administrator
  • Horde_Kolab_Server_Object_Kolab_Adminrole
  • Horde_Kolab_Server_Object_Kolab_Distlist
  • Horde_Kolab_Server_Object_Kolab_Domainmaintainer
  • Horde_Kolab_Server_Object_Kolab_Maintainer
  • Horde_Kolab_Server_Object_Kolab_User
  • Horde_Kolab_Server_Object_Kolabgermanbankarrangement
  • Horde_Kolab_Server_Object_Kolabgroupofnames
  • Horde_Kolab_Server_Object_Kolabinetorgperson
  • Horde_Kolab_Server_Object_Kolabpop3account
  • Horde_Kolab_Server_Object_Kolabsharedfolder
  • Horde_Kolab_Server_Object_Mcached
  • Horde_Kolab_Server_Object_Organizationalperson
  • Horde_Kolab_Server_Object_Person
  • Horde_Kolab_Server_Object_Top
  • Horde_Kolab_Server_Objects_Base
  • Horde_Kolab_Server_Query_Element_And
  • Horde_Kolab_Server_Query_Element_Approx
  • Horde_Kolab_Server_Query_Element_Begins
  • Horde_Kolab_Server_Query_Element_Contains
  • Horde_Kolab_Server_Query_Element_Ends
  • Horde_Kolab_Server_Query_Element_Equals
  • Horde_Kolab_Server_Query_Element_Greater
  • Horde_Kolab_Server_Query_Element_Group
  • Horde_Kolab_Server_Query_Element_Less
  • Horde_Kolab_Server_Query_Element_Mapped
  • Horde_Kolab_Server_Query_Element_Not
  • Horde_Kolab_Server_Query_Element_Or
  • Horde_Kolab_Server_Query_Element_Single
  • Horde_Kolab_Server_Query_Ldap
  • Horde_Kolab_Server_Result_Ldap
  • Horde_Kolab_Server_Schema_Base
  • Horde_Kolab_Server_Schema_Decorator_Cache
  • Horde_Kolab_Server_Search_Base
  • Horde_Kolab_Server_Search_Operation_Addressesforuidormail
  • Horde_Kolab_Server_Search_Operation_Attributes
  • Horde_Kolab_Server_Search_Operation_Base
  • Horde_Kolab_Server_Search_Operation_Children
  • Horde_Kolab_Server_Search_Operation_Constraint_Single
  • Horde_Kolab_Server_Search_Operation_Constraint_Strict
  • Horde_Kolab_Server_Search_Operation_Groupsformember
  • Horde_Kolab_Server_Search_Operation_Guid
  • Horde_Kolab_Server_Search_Operation_Guidforalias
  • Horde_Kolab_Server_Search_Operation_Guidforcn
  • Horde_Kolab_Server_Search_Operation_Guidforkolabusers
  • Horde_Kolab_Server_Search_Operation_Guidformail
  • Horde_Kolab_Server_Search_Operation_Guidformailoralias
  • Horde_Kolab_Server_Search_Operation_Guidforuid
  • Horde_Kolab_Server_Search_Operation_Guidforuidormail
  • Horde_Kolab_Server_Search_Operation_Guidforuidormailoralias
  • Horde_Kolab_Server_Search_Operation_Mailforuidormail
  • Horde_Kolab_Server_Search_Operation_Restrictgroups
  • Horde_Kolab_Server_Search_Operation_Restrictkolab
  • Horde_Kolab_Server_Structure_Attribute_Double
  • Horde_Kolab_Server_Structure_Attribute_Value
  • Horde_Kolab_Server_Structure_Base
  • Horde_Kolab_Server_Structure_Kolab
  • Horde_Kolab_Server_Structure_Ldap

Interfaces

  • Horde_Kolab_Server_Connection_Interface
  • Horde_Kolab_Server_Interface
  • Horde_Kolab_Server_List_Interface
  • Horde_Kolab_Server_Object_Attribute_Interface
  • Horde_Kolab_Server_Object_Interface
  • Horde_Kolab_Server_Object_Searches
  • Horde_Kolab_Server_Objects_Interface
  • Horde_Kolab_Server_Query_Element_Interface
  • Horde_Kolab_Server_Query_Interface
  • Horde_Kolab_Server_Result_Interface
  • Horde_Kolab_Server_Schema_Interface
  • Horde_Kolab_Server_Search_Interface
  • Horde_Kolab_Server_Search_Operation_Interface
  • Horde_Kolab_Server_Structure_Attribute_Interface
  • Horde_Kolab_Server_Structure_Interface
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Kolab_Server_Object_Kolabgroupofnames

This class provides methods to deal with groups for Kolab.

Copyright 2008-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.

Horde_Kolab_Server_Object_Base implements Horde_Kolab_Server_Object_Interface
Extended by Horde_Kolab_Server_Object_Top implements Horde_Kolab_Server_Object_Searches
Extended by Horde_Kolab_Server_Object_Groupofnames
Extended by Horde_Kolab_Server_Object_Kolabgroupofnames

Direct known subclasses

Horde_Kolab_Server_Object_Kolab_Distlist
Package: Kolab\Server
Category: Kolab
License: LGPL 2.1
Author: Gunnar Wrobel wrobel@pardus.de
Link: http://pear.horde.org/index.php?package=Kolab_Server
Located at Horde/Kolab/Server/Object/Kolabgroupofnames.php
Methods summary
public static string
# getFilter( )

Return the filter string to retrieve this object type.

Return the filter string to retrieve this object type.

Returns

string

The filter to retrieve this object type from the server database.

Overrides

Horde_Kolab_Server_Object_Groupofnames::getFilter()
public string|PEAR_Error
# generateId( array & $info )

Generates an ID for the given information.

Generates an ID for the given information.

Parameters

$info
The data of the object.

Returns

string|PEAR_Error
The ID.

Overrides

Horde_Kolab_Server_Object_Groupofnames::generateId()
public NULL.
# prepareObjectInformation( array & $info )

Distill the server side object information to save.

Distill the server side object information to save.

Parameters

$info
The information about the object.

Returns

NULL.

Throws

Horde_Kolab_Server_Exception
If the given information contains errors.

Overrides

Horde_Kolab_Server_Object_Top::prepareObjectInformation()
public static array
# getSearchOperations( )

Returns the set of search operations supported by this object type.

Returns the set of search operations supported by this object type.

Returns

array
An array of supported search operations.
public static mixed
# gidForMail( string $server, integer $mail, mixed $restrict = 0 )

Identify the GID for the first group found with the given mail.

Identify the GID for the first group found with the given mail.

Parameters

$server
$mail Search for groups with this mail address.
$mail
$restrict A Horde_Kolab_Server::RESULT_* result restriction.
$restrict

Returns

mixed
The GID or false if there was no result.

Throws

Horde_Kolab_Server_Exception
public static boolean
# memberOfGroupAddress( string $server, string $uid, mixed $mail )

Is the given UID member of the group with the given mail address?

Is the given UID member of the group with the given mail address?

Parameters

$server
$uid UID of the user.
$uid
$mail Search the group with this mail address.
$mail

Returns

boolean
True in case the user is in the group, false otherwise.

Throws

Horde_Kolab_Server_Exception
public static array
# getGroupAddresses( string $server, mixed $uid )

Get the mail addresses for the group of this object.

Get the mail addresses for the group of this object.

Parameters

$server
$uid The UID of the object to fetch.
$uid

Returns

array
An array of mail addresses.

Throws

Horde_Kolab_Server_Exception
Methods inherited from Horde_Kolab_Server_Object_Groupofnames
addMember(), deleteMember(), getMembers(), isMember()
Methods inherited from Horde_Kolab_Server_Object_Top
getActions()
Methods inherited from Horde_Kolab_Server_Object_Base
__construct(), delete(), exists(), getExternal(), getExternalAttributes(), getGuid(), getInternal(), getInternalAttributes(), readInternal(), save()
Constants summary
string ATTRIBUTE_VISIBILITY

The visibility of the group

The visibility of the group

# 'visible'
string ATTRIBUTE_OU

The ou subtree of the group

The ou subtree of the group

# 'ou'
string ATTRIBUTE_MAIL

The mail address of this group

The mail address of this group

# 'mail'
string OBJECTCLASS_KOLABGROUPOFNAMES

The specific object class of this object type

The specific object class of this object type

# 'kolabGroupOfNames'
Constants inherited from Horde_Kolab_Server_Object_Groupofnames
ATTRIBUTE_CN, ATTRIBUTE_MEMBER, OBJECTCLASS_GROUPOFNAMES
Constants inherited from Horde_Kolab_Server_Object_Top
OBJECTCLASS_TOP
Properties summary
public static array $init_attributes

A structure to initialize the attribute structure for this class.

A structure to initialize the attribute structure for this class.

# array( 'defined' => array( self::ATTRIBUTE_VISIBILITY, self::ATTRIBUTE_MAIL, ), 'derived' => array( self::ATTRIBUTE_VISIBILITY => array(), ), 'object_classes' => array( self::OBJECTCLASS_KOLABGROUPOFNAMES, ), )
Properties inherited from Horde_Kolab_Server_Object_Top
$attributes, $object_classes, $sort_by
API documentation generated by ApiGen