3 require_once(
'./Services/Object/classes/class.ilObjectAccess.php');
4 require_once(
'./Services/User/classes/class.ilUserAccountSettings.php');
29 $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)) {
63 $ilAccess = $DIC[
'ilAccess'];
65 if (($ilAccess->checkAccess(
"write",
"",
$ref_id)
66 OR $ilAccess->checkAccess(
"view_learning_progress_rec",
"",
$ref_id))
67 AND $ilAccess->checkAccess(
"read",
"",
$ref_id)) {
81 $ilAccess = $DIC[
'ilAccess'];
84 $ilAccess->checkAccess(
'cat_administrate_users',
"",
$ref_id)) {
99 $ilAccess = $DIC[
'ilAccess'];
102 if ($ilAccess->checkAccess(
"view_learning_progress",
"",
$ref_id)
107 if ($ilAccess->checkAccess(
"view_learning_progress",
"",
$ref_id)
113 if ($ilAccess->checkAccess(
"view_learning_progress_rec",
"",
$ref_id)
119 if ($ilAccess->checkAccess(
"view_learning_progress_rec",
"",
$ref_id)
134 $ilAccess = $DIC[
'ilAccess'];
135 $t_arr = explode(
'_', $a_target);
136 if ($t_arr[0] !=
'orgu' || ((
int)$t_arr[1]) <= 0) {
139 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)