ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
}
ilObjectAccess
ilObjSurveyQuestionPoolAccess
Class ilObjSurveyQuestionPoolAccess.
Definition:
class.ilObjSurveyQuestionPoolAccess.php:12
$DIC
global $DIC
Definition:
goto.php:24
ilObjSurveyQuestionPoolAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjSurveyQuestionPoolAccess.php:28
ilObjSurveyQuestionPoolAccess\_checkGoto
static _checkGoto($a_target)
Definition:
class.ilObjSurveyQuestionPoolAccess.php:40
Modules
SurveyQuestionPool
classes
class.ilObjSurveyQuestionPoolAccess.php
Generated on Wed Sep 3 2025 21:01:04 for ILIAS by
1.8.13 (using
Doxyfile
)