ILIAS
release_4-4 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
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
k
l
m
n
o
p
q
r
s
t
u
v
w
y
+
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
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
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.ilQTIPresentation.php
Go to the documentation of this file.
1
<?php
2
/*
3
+-----------------------------------------------------------------------------+
4
| ILIAS open source |
5
+-----------------------------------------------------------------------------+
6
| Copyright (c) 1998-2001 ILIAS open source, University of Cologne |
7
| |
8
| This program is free software; you can redistribute it and/or |
9
| modify it under the terms of the GNU General Public License |
10
| as published by the Free Software Foundation; either version 2 |
11
| of the License, or (at your option) any later version. |
12
| |
13
| This program is distributed in the hope that it will be useful, |
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16
| GNU General Public License for more details. |
17
| |
18
| You should have received a copy of the GNU General Public License |
19
| along with this program; if not, write to the Free Software |
20
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21
+-----------------------------------------------------------------------------+
22
*/
23
32
class
ilQTIPresentation
33
{
34
var
$label
;
35
var
$xmllang
;
36
var
$x0
;
37
var
$y0
;
38
var
$width
;
39
var
$height
;
40
41
var
$material
;
42
var
$response
;
43
var
$order
;
44
45
function
ilQTIPresentation
()
46
{
47
$this->response = array();
48
$this->material = array();
49
$this->order = array();
50
}
51
52
function
setLabel
($a_label)
53
{
54
$this->label = $a_label;
55
}
56
57
function
getLabel
()
58
{
59
return
$this->label
;
60
}
61
62
function
setXmllang
($a_xmllang)
63
{
64
$this->xmllang = $a_xmllang;
65
}
66
67
function
getXmllang
()
68
{
69
return
$this->xmllang
;
70
}
71
72
function
setX0
($a_x0)
73
{
74
$this->x0 = $a_x0;
75
}
76
77
function
getX0
()
78
{
79
return
$this->x0
;
80
}
81
82
function
setY0
($a_y0)
83
{
84
$this->y0 = $a_y0;
85
}
86
87
function
getY0
()
88
{
89
return
$this->y0
;
90
}
91
92
function
setWidth
($a_width)
93
{
94
$this->width = $a_width;
95
}
96
97
function
getWidth
()
98
{
99
return
$this->width
;
100
}
101
102
function
setHeight
($a_height)
103
{
104
$this->height = $a_height;
105
}
106
107
function
getHeight
()
108
{
109
return
$this->height
;
110
}
111
112
function
addMaterial
($a_material)
113
{
114
$count = array_push($this->material, $a_material);
115
array_push($this->order, array(
"type"
=>
"material"
,
"index"
=> $count-1));
116
}
117
118
function
addResponse
($a_response)
119
{
120
$count = array_push($this->response, $a_response);
121
array_push($this->order, array(
"type"
=>
"response"
,
"index"
=> $count-1));
122
}
123
}
124
?>
ilQTIPresentation\$order
$order
Definition:
class.ilQTIPresentation.php:43
ilQTIPresentation\$response
$response
Definition:
class.ilQTIPresentation.php:42
ilQTIPresentation\getY0
getY0()
Definition:
class.ilQTIPresentation.php:87
ilQTIPresentation\getXmllang
getXmllang()
Definition:
class.ilQTIPresentation.php:67
ilQTIPresentation\getLabel
getLabel()
Definition:
class.ilQTIPresentation.php:57
ilQTIPresentation\addResponse
addResponse($a_response)
Definition:
class.ilQTIPresentation.php:118
ilQTIPresentation\setX0
setX0($a_x0)
Definition:
class.ilQTIPresentation.php:72
ilQTIPresentation\getX0
getX0()
Definition:
class.ilQTIPresentation.php:77
ilQTIPresentation\$material
$material
Definition:
class.ilQTIPresentation.php:41
ilQTIPresentation\getWidth
getWidth()
Definition:
class.ilQTIPresentation.php:97
ilQTIPresentation\setY0
setY0($a_y0)
Definition:
class.ilQTIPresentation.php:82
ilQTIPresentation\setWidth
setWidth($a_width)
Definition:
class.ilQTIPresentation.php:92
ilQTIPresentation\setHeight
setHeight($a_height)
Definition:
class.ilQTIPresentation.php:102
ilQTIPresentation\setLabel
setLabel($a_label)
Definition:
class.ilQTIPresentation.php:52
ilQTIPresentation
Definition:
class.ilQTIPresentation.php:32
ilQTIPresentation\$y0
$y0
Definition:
class.ilQTIPresentation.php:37
ilQTIPresentation\$width
$width
Definition:
class.ilQTIPresentation.php:38
ilQTIPresentation\addMaterial
addMaterial($a_material)
Definition:
class.ilQTIPresentation.php:112
ilQTIPresentation\$label
$label
Definition:
class.ilQTIPresentation.php:34
ilQTIPresentation\setXmllang
setXmllang($a_xmllang)
Definition:
class.ilQTIPresentation.php:62
ilQTIPresentation\$height
$height
Definition:
class.ilQTIPresentation.php:39
ilQTIPresentation\ilQTIPresentation
ilQTIPresentation()
Definition:
class.ilQTIPresentation.php:45
ilQTIPresentation\$xmllang
$xmllang
Definition:
class.ilQTIPresentation.php:35
ilQTIPresentation\getHeight
getHeight()
Definition:
class.ilQTIPresentation.php:107
ilQTIPresentation\$x0
$x0
Definition:
class.ilQTIPresentation.php:36
Services
QTI
classes
class.ilQTIPresentation.php
Generated on Mon Dec 21 2020 19:01:22 for ILIAS by
1.8.13 (using
Doxyfile
)