ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
s
t
w
+
Functions
_
a
b
c
f
g
h
i
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.ilAssOrderingHorizontalFeedback.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Modules/TestQuestionPool/classes/feedback/class.ilAssMultiOptionQuestionFeedback.php'
;
5
14
class
ilAssOrderingHorizontalFeedback
extends
ilAssMultiOptionQuestionFeedback
15
{
22
public
function
getAnswerOptionsByAnswerIndex
()
23
{
24
if
(strpos($this->questionOBJ->ordertext,
'::'
)) {
25
return
explode(
'::'
, $this->questionOBJ->ordertext);
26
}
27
return
explode(
' '
, $this->questionOBJ->ordertext);
28
}
29
30
protected
function
buildAnswerOptionLabel
(
$index
, $answer)
31
{
32
return
trim($answer);
33
}
34
}
ilAssOrderingHorizontalFeedback\getAnswerOptionsByAnswerIndex
getAnswerOptionsByAnswerIndex()
returns the answer options mapped by answer index (can be overwritten by concrete question type class...
Definition:
class.ilAssOrderingHorizontalFeedback.php:22
$index
$index
Definition:
metadata.php:128
ilAssOrderingHorizontalFeedback
Definition:
class.ilAssOrderingHorizontalFeedback.php:14
ilAssMultiOptionQuestionFeedback
Definition:
class.ilAssMultiOptionQuestionFeedback.php:17
ilAssOrderingHorizontalFeedback\buildAnswerOptionLabel
buildAnswerOptionLabel($index, $answer)
Definition:
class.ilAssOrderingHorizontalFeedback.php:30
Modules
TestQuestionPool
classes
feedback
class.ilAssOrderingHorizontalFeedback.php
Generated on Mon Apr 7 2025 20:01:11 for ILIAS by
1.8.13 (using
Doxyfile
)