ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
class.ilObjSurveyQuestionPoolAccess.php
Go to the documentation of this file.
1
<?php
2
23
class
ilObjSurveyQuestionPoolAccess
extends
ilObjectAccess
24
{
25
public
static
function
_getCommands
(): array
26
{
27
$commands = array(
28
array(
"permission"
=>
"read"
,
"cmd"
=>
"questions"
,
"lang_var"
=>
"edit_questions"
,
29
"default"
=>
true
),
30
array(
"permission"
=>
"write"
,
"cmd"
=>
"questions"
,
"lang_var"
=>
"edit_questions"
),
31
array(
"permission"
=>
"write"
,
"cmd"
=>
"properties"
,
"lang_var"
=>
"settings"
)
32
);
33
34
return
$commands;
35
}
36
37
public
static
function
_checkGoto
(
string
$target): bool
38
{
39
global
$DIC
;
40
41
$ilAccess = $DIC->access();
42
43
$t_arr = explode(
"_"
, $target);
44
45
if
($ilAccess->checkAccess(
"visible"
,
""
, $t_arr[1]) ||
46
$ilAccess->checkAccess(
"read"
,
""
, $t_arr[1])) {
47
return
true
;
48
}
49
return
false
;
50
}
51
}
ilObjSurveyQuestionPoolAccess\_checkGoto
static _checkGoto(string $target)
Definition:
class.ilObjSurveyQuestionPoolAccess.php:37
ilObjectAccess
ilObjSurveyQuestionPoolAccess
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilObjSurveyQuestionPoolAccess.php:23
$DIC
global $DIC
Definition:
feed.php:28
ilObjSurveyQuestionPoolAccess\_getCommands
static _getCommands()
Definition:
class.ilObjSurveyQuestionPoolAccess.php:25
Modules
SurveyQuestionPool
classes
class.ilObjSurveyQuestionPoolAccess.php
Generated on Wed Sep 3 2025 22:01:41 for ILIAS by
1.8.13 (using
Doxyfile
)