28 $commands[] = array(
'permission' =>
'read',
'cmd' =>
'view',
'lang_var' =>
'show',
'default' =>
true );
45 $ilAccess = $DIC[
'ilAccess'];
47 if (($ilAccess->checkAccess(
"write",
"", $ref_id)
48 or $ilAccess->checkAccess(
"view_learning_progress",
"", $ref_id))
49 and $ilAccess->checkAccess(
"read",
"", $ref_id)) {
64 $ilAccess = $DIC[
'ilAccess'];
66 if (($ilAccess->checkAccess(
"write",
"", $ref_id)
67 or $ilAccess->checkAccess(
"view_learning_progress_rec",
"", $ref_id))
68 and $ilAccess->checkAccess(
"read",
"", $ref_id)) {
83 $ilAccess = $DIC[
'ilAccess'];
86 $ilAccess->checkAccess(
'cat_administrate_users',
"", $ref_id)) {
101 $ilAccess = $DIC[
'ilAccess'];
103 if ($ilAccess->checkAccess(
'write',
'', $ref_id)) {
119 $ilAccess = $DIC[
'ilAccess'];
122 if ($ilAccess->checkAccess(
"view_learning_progress",
"", $ref_id)
127 if ($ilAccess->checkAccess(
"view_learning_progress",
"", $ref_id)
133 if ($ilAccess->checkAccess(
"view_learning_progress_rec",
"", $ref_id)
139 if ($ilAccess->checkAccess(
"view_learning_progress_rec",
"", $ref_id)
154 $ilAccess = $DIC[
'ilAccess'];
155 $t_arr = explode(
'_', $a_target);
156 if ($t_arr[0] !=
'orgu' || ((
int) $t_arr[1]) <= 0) {
159 if ($ilAccess->checkAccess(
'read',
'', $t_arr[1])) {
static _checkAccessStaff($ref_id)
static _checkGoto($a_target)
check whether goto script will succeed
static _getCommands()
get commands
static _checkAccessAdministrateUsers($ref_id)
static getInstance()
Singelton get instance.
Class ilObjOrgUnitAccess.
static _checkAccessExport($ref_id)
static _checkAccessToUserLearningProgress($ref_id, $usr_id)
static _checkAccessStaffRec($ref_id)