API documentation :: Docs For Class arbitGroupFacade
Packages:Interfaces:
Classes:
|
Core::Facade::arbitGroupFacadeInterface arbitGroupFacadeGroup facade defining all methods required to access group related data in the backend. Group facade defining all methods required to access group related data in the backend.
Method Summary
MethodscreateGroup
mixed
createGroup(
string
$name
)
Create a new group Create a new group with the given name. there already is a group with the given name. Create a new group Create a new group with the given name. An exception will be thrown if there already is a group with the given name. The ID generated by the backend in some way is returned for later reference. The type of the identifier depends on the backend, no assumptions should be made here. Parameters:
getAllGroupIDs
array
getAllGroupIDs(
)
Get array of groups Return an array with the IDs of all available groups in the database. Get array of groups Return an array with the IDs of all available groups in the database. getGroupData
array
getGroupData(
string
$group
)
Get group data Get data for the given group name. array, and should contain the following keys:
Get group data Get data for the given group name. The data should be returned as an array, and should contain the following keys:
Parameters:
getPrivilegesForUser
array
getPrivilegesForUser(
string
$user
)
Get privileges for user Get the privileges for a user, given the users ID, as an array of strings defining the privileges the user has. Get privileges for user Get the privileges for a user, given the users ID, as an array of strings defining the privileges the user has. Parameters:
updateGroupData
void
updateGroupData(
string
$group
, array
$data
)
Update stored information for the given group The array with the information to update may any number of the common keys, and only the given keys will be updated in the storage backend. Update stored information for the given group The array with the information to update may any number of the common keys, and only the given keys will be updated in the storage backend. Parameters:
Documentation generated on Mon, 05 Apr 2010 14:01:57 +0200 by phpDocumentor 1.4.3
|