This is the generic Roles class
It loads the ACL in two stages when there is no db present, otherwise it just loads from the db:
package | Gems |
---|---|
subpackage | Roles |
copyright | Copyright (c) 2011 Erasmus MC |
license | New BSD License |
since | Class available since version 1.0 |
__call(\stringethod $method, mixed $args) : mixed
\stringethod
mixed
mixed
__construct(mixed $cache = null
)
mixed
\Zend_Cache_Core or \GemsEscort
build() : void
getAcl() : \MUtil_Acl
\MUtil_Acl
getInstance() : \Gems_Roles
\Gems_Roles
load()
loadDbAcl()
\Exception |
---|
loadDefaultPrivileges()
loadDefaultRoles()
setCache(mixed $cache)
mixed
translateToRoleIds(mixed $roles) : array
mixed
string or array
array
Of role id'stranslateToRoleNames(mixed $roles) : array
mixed
string or array
array
_deleteCache()
_initAcl()
_save()
\Gems_Exception |
---|
$_acl : \MUtil_Acl
$_cache : \Zend_Cache_Core
null
$_cacheid : string
'gems_acl'
$_instanceOfSelf : \Gems_Roles
$_roleTranslations : array
array()