Function user_access
check if user can access module $modulename and look for $auth
what is in $auths[$modulename][$auth]?
Parameters summary
string |
$auth |
$auth; f.e. view |
string |
$modulename = null |
$modulename; f.e. churchservice |
Return value summary
mixed
|
auth; may be bool, int or array in form of 0=>0, 1=>1 |