ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
class.ilObjSurveyQuestionPoolAccess.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12
class
ilObjSurveyQuestionPoolAccess
extends
ilObjectAccess
13
{
14
28
public
static
function
_getCommands
()
29
{
30
$commands = array(
31
array(
"permission"
=>
"read"
,
"cmd"
=>
"questions"
,
"lang_var"
=>
"edit_questions"
,
32
"default"
=>
true
),
33
array(
"permission"
=>
"write"
,
"cmd"
=>
"questions"
,
"lang_var"
=>
"edit_questions"
),
34
array(
"permission"
=>
"write"
,
"cmd"
=>
"properties"
,
"lang_var"
=>
"settings"
)
35
);
36
37
return
$commands;
38
}
39
40
public
static
function
_checkGoto
($a_target)
41
{
42
global
$DIC
;
43
44
$ilAccess =
$DIC
->access();
45
46
$t_arr = explode(
"_"
, $a_target);
47
48
if
($ilAccess->checkAccess(
"visible"
,
""
, $t_arr[1]) ||
49
$ilAccess->checkAccess(
"read"
,
""
, $t_arr[1])) {
50
return
true
;
51
}
52
return
false
;
53
}
54
}
php
An exception for terminatinating execution or to throw for unit testing.
ilObjSurveyQuestionPoolAccess
Class ilObjSurveyQuestionPoolAccess.
Definition:
class.ilObjSurveyQuestionPoolAccess.php:13
ilObjSurveyQuestionPoolAccess\_checkGoto
static _checkGoto($a_target)
check whether goto script will succeed
Definition:
class.ilObjSurveyQuestionPoolAccess.php:40
ilObjSurveyQuestionPoolAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjSurveyQuestionPoolAccess.php:28
ilObjectAccess
Class ilObjectAccess.
Definition:
class.ilObjectAccess.php:17
$DIC
$DIC
Definition:
xapitoken.php:46
Modules
SurveyQuestionPool
classes
class.ilObjSurveyQuestionPoolAccess.php
Generated on Fri Oct 3 2025 20:00:54 for ILIAS by
1.9.4 (using
Doxyfile
)