PHP Класс Horde_Kolab_Server_Object_Kolabgroupofnames, horde

Copyright 2008-2016 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.
Автор: Gunnar Wrobel ([email protected])
Наследование: extends Horde_Kolab_Server_Object_Groupofnames
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$init_attributes array A structure to initialize the attribute structure for this class.

Открытые методы

Метод Описание
generateId ( array &$info ) : string | PEAR_Error Generates an ID for the given information.
getFilter ( ) : string Return the filter string to retrieve this object type.
getGroupAddresses ( $server, string $uid ) : array Get the mail addresses for the group of this object.
getSearchOperations ( ) : array Returns the set of search operations supported by this object type.
gidForMail ( $server, string $mail, integer $restrict ) : mixed Identify the GID for the first group found with the given mail.
memberOfGroupAddress ( $server, string $uid, string $mail ) : boolean Is the given UID member of the group with the given mail address?
prepareObjectInformation ( array &$info ) : NULL. Distill the server side object information to save.

Защищенные методы

Метод Описание
derive ( string $attr ) : mixed Derive an attribute value.

Описание методов

derive() защищенный Метод

Derive an attribute value.
protected derive ( string $attr ) : mixed
$attr string The attribute to derive.
Результат mixed The value of the attribute.

generateId() публичный Метод

Generates an ID for the given information.
public generateId ( array &$info ) : string | PEAR_Error
$info array The data of the object.
Результат string | PEAR_Error The ID.

getFilter() публичный статический Метод

Return the filter string to retrieve this object type.
public static getFilter ( ) : string
Результат string The filter to retrieve this object type from the server database.

getGroupAddresses() публичный статический Метод

Get the mail addresses for the group of this object.
public static getGroupAddresses ( $server, string $uid ) : array
$uid string The UID of the object to fetch.
Результат array An array of mail addresses.

getSearchOperations() публичный статический Метод

Returns the set of search operations supported by this object type.
public static getSearchOperations ( ) : array
Результат array An array of supported search operations.

gidForMail() публичный статический Метод

Identify the GID for the first group found with the given mail.
public static gidForMail ( $server, string $mail, integer $restrict ) : mixed
$mail string Search for groups with this mail address.
$restrict integer A Horde_Kolab_Server::RESULT_* result restriction.
Результат mixed The GID or false if there was no result.

memberOfGroupAddress() публичный статический Метод

Is the given UID member of the group with the given mail address?
public static memberOfGroupAddress ( $server, string $uid, string $mail ) : boolean
$uid string UID of the user.
$mail string Search the group with this mail address.
Результат boolean True in case the user is in the group, false otherwise.

prepareObjectInformation() публичный Метод

Distill the server side object information to save.
public prepareObjectInformation ( array &$info ) : NULL.
$info array The information about the object.
Результат NULL.

Описание свойств

$init_attributes публичное статическое свойство

A structure to initialize the attribute structure for this class.
public static array $init_attributes
Результат array