ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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 Sun Apr 6 2025 21:01:07 for ILIAS by
1.8.13 (using
Doxyfile
)