\app\admin\controller\commonAuth

Summary

Methods
Properties
Constants
addRoleForUser()
deleteRoleForUser()
deleteRolesForUser()
getRolesForUser()
getUsersForRole()
hasRoleForUser()
addPermissionForUser()
deletePermissionForUser()
deletePermissionsForUser()
getPermissionsForUser()
hasPermissionForUser()
deleteRole()
deleteUser()
deletePermission()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

addRoleForUser()

addRoleForUser(  $username,   $role,   $domain) 

Parameters

$username
$role
$domain

deleteRoleForUser()

deleteRoleForUser(  $username,   $role,   $domain) 

Parameters

$username
$role
$domain

deleteRolesForUser()

deleteRolesForUser(  $username,   $domain) 

Parameters

$username
$domain

getRolesForUser()

getRolesForUser(  $username,   $domain) 

Parameters

$username
$domain

getUsersForRole()

getUsersForRole(  $role,   $domain) 

Parameters

$role
$domain

hasRoleForUser()

hasRoleForUser(  $username,   $role,   $domain) 

Parameters

$username
$role
$domain

addPermissionForUser()

addPermissionForUser(  $username,   $role,   $domain,   $class,   $permission,   $menu_id) 

Parameters

$username
$role
$domain
$class
$permission
$menu_id

deletePermissionForUser()

deletePermissionForUser(  $username_or_role,   $domain,   $class,   $permission) 

Parameters

$username_or_role
$domain
$class
$permission

deletePermissionsForUser()

deletePermissionsForUser(  $username) 

Parameters

$username

getPermissionsForUser()

getPermissionsForUser(  $username = "",   $role = "",   $domain = "") 

Parameters

$username
$role
$domain

hasPermissionForUser()

hasPermissionForUser(  $username,   $domain,   $class,   $permission) 

Parameters

$username
$domain
$class
$permission

deleteRole()

deleteRole(  $role) 

Parameters

$role

deleteUser()

deleteUser(  $username) 

Parameters

$username

deletePermission()

deletePermission(  $premission) 

Parameters

$premission