Méthode |
Description |
|
_addUser ( mixed $gid, string $user ) |
Add a user to a group. |
|
_create ( string $name, string $email = null ) : mixed |
Creates a new group. |
|
_exists ( mixed $gid ) : boolean |
Checks if a group exists. |
|
_getData ( mixed $gid ) : array |
Returns all available attributes of a group. |
|
_getName ( mixed $gid ) : string |
Returns a group name. |
|
_listAll ( ) : array |
Returns a list of all groups a user may see, with IDs as keys and names
as values. |
|
_listGroups ( string $user ) : array |
Returns a list of groups a user belongs to. |
|
_listUsers ( mixed $gid ) : array |
Returns a list of users in a group. |
|
_remove ( mixed $gid ) |
Removes a group. |
|
_removeUser ( mixed $gid, string $user ) |
Removes a user from a group. |
|
_rename ( mixed $gid, string $name ) |
Renames a group. |
|
_search ( string $name ) : array |
Searches for group names. |
|
_setData ( mixed $gid, array | string $attribute, string $value = null ) |
Sets one or more attributes of a group. |
|