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)) {
102 $ilAccess = $DIC[
'ilAccess'];
105 if ($ilAccess->checkAccess(
"view_learning_progress",
"", $ref_id)
110 if ($ilAccess->checkAccess(
"view_learning_progress",
"", $ref_id)
116 if ($ilAccess->checkAccess(
"view_learning_progress_rec",
"", $ref_id)
122 if ($ilAccess->checkAccess(
"view_learning_progress_rec",
"", $ref_id)
137 $ilAccess = $DIC[
'ilAccess'];
138 $t_arr = explode(
'_', $a_target);
139 if ($t_arr[0] !=
'orgu' || ((
int) $t_arr[1]) <= 0) {
142 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)
Create styles array
The data for the language used.
static getInstance()
Singelton get instance.
Class ilObjOrgUnitAccess.
static _checkAccessToUserLearningProgress($ref_id, $usr_id)
static _checkAccessStaffRec($ref_id)