PHP Класс Horde_Group_Stub_Api, horde

Автор: Jan Schneider ([email protected])
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_groups

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

Метод Описание
getGroupMembers ( string $gid, boolean $subGroups = false ) : array Returns a list of all members belonging to a contact group.
getGroupMemberships ( string $user, boolean $parentGroups = false ) : array Returns all contact groups that the specified user is a member of.
getGroupObject ( string $gid ) : array Returns a contact group hash.
getGroupObjects ( ) : array Returns all contact groups.

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

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

Returns a list of all members belonging to a contact group.
public getGroupMembers ( string $gid, boolean $subGroups = false ) : array
$gid string The group identifier
$subGroups boolean Also include members of any subgroups?
Результат array An array of group members (identified by email address).

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

Returns all contact groups that the specified user is a member of.
public getGroupMemberships ( string $user, boolean $parentGroups = false ) : array
$user string The user
$parentGroups boolean Include user as a member of the any parent group as well.
Результат array An array of group identifiers that the specified user is a member of.

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

Returns a contact group hash.
public getGroupObject ( string $gid ) : array
$gid string The group identifier.
Результат array A hash defining the group.

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

Returns all contact groups.
public getGroupObjects ( ) : array
Результат array A list of group hashes.

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

$_groups защищенное свойство

protected $_groups