[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 114 lignes (3 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Group_hooks:: (5 méthodes):
Group_hooks()
getGroupMemberships()
userIsInGroup()
hasHook()
_getGroupHookName()
Classe: Group_hooks - X-Ref
The Group_hooks:: class provides the Horde groups system with theGroup_hooks() X-Ref |
Constructor. |
getGroupMemberships($user, $parentGroups = false) X-Ref |
Get a list of every group that $user is in. param: string $user The user to get groups for. param: boolean $parentGroups Also return the parents of any groups? return: array An array of all groups the user is in. |
userIsInGroup($user, $gid, $subgroups = true) X-Ref |
Say if a user is a member of a group or not. param: string $user The name of the user. param: integer $gid The ID of the group. param: boolean $subgroups Return true if the user is in any subgroups return: boolean |
hasHook($name) X-Ref |
Determines if a group has a hook associated with it. param: string $name The group name. return: boolean True if the group has a hook, false otherwise |
_getGroupHookName($name) X-Ref |
Returns the name of the hook function. param: string $name The group name. return: string The function name for the hook for this group |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |