NAME
NAME
The Roles class
Handles the roles in the system. Used in conjunction with the Permissions and Users class.
getPermissionsByCategory( $roleId, $catId) : \an
Gets the permission under a specified category for this role. If nothing found, returns NULL otherwise an array.
The array is a key value pair in the form of: permission name => definition
$roleId | the id of the role being requested |
|
$catId | the id of the category of permissions |
array defined as above, or NULL