PHP Класс Horde_Kolab_Server_Object_Groupofnames, 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_Top
Показать файл Открыть проект Примеры использования класса

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

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

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

Метод Описание
addMember ( string $member ) : array | PEAR_Error Add a member to this group.
deleteMember ( string $member ) : array | PEAR_Error Delete a member from this group.
generateId ( array &$info ) : string | PEAR_Error Generates an ID for the given information.
getFilter ( ) : string Return the filter string to retrieve this object type.
getMembers ( ) : array | PEAR_Error Retrieve the member list for this group.
isMember ( string $member ) : boolean | PEAR_Error Is the specified UID member of this group?

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

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

Add a member to this group.
public addMember ( string $member ) : array | PEAR_Error
$member string The UID of the member to add.
Результат array | PEAR_Error True if successful.

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

Delete a member from this group.
public deleteMember ( string $member ) : array | PEAR_Error
$member string The UID of the member to delete.
Результат array | PEAR_Error True if successful.

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

Generates an ID for the given information.
public generateId ( array &$info ) : string | PEAR_Error
$info array
Результат 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.

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

Retrieve the member list for this group.
public getMembers ( ) : array | PEAR_Error
Результат array | PEAR_Error The list of members in this group.

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

Is the specified UID member of this group?
public isMember ( string $member ) : boolean | PEAR_Error
$member string The UID of the member to check.
Результат boolean | PEAR_Error True if the UID is a member of the group, false otherwise.

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

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

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