ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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
public
$label
;
35
public
$xmllang
;
36
public
$x0
;
37
public
$y0
;
38
public
$width
;
39
public
$height
;
40
41
public
$material
;
42
public
$response
;
43
public
$order
;
44
45
public
function
__construct
()
46
{
47
$this->response =
array
();
48
$this->material =
array
();
49
$this->order =
array
();
50
}
51
52
public
function
setLabel
($a_label)
53
{
54
$this->label = $a_label;
55
}
56
57
public
function
getLabel
()
58
{
59
return
$this->label
;
60
}
61
62
public
function
setXmllang
($a_xmllang)
63
{
64
$this->xmllang = $a_xmllang;
65
}
66
67
public
function
getXmllang
()
68
{
69
return
$this->xmllang
;
70
}
71
72
public
function
setX0
($a_x0)
73
{
74
$this->x0 = $a_x0;
75
}
76
77
public
function
getX0
()
78
{
79
return
$this->x0
;
80
}
81
82
public
function
setY0
($a_y0)
83
{
84
$this->y0 = $a_y0;
85
}
86
87
public
function
getY0
()
88
{
89
return
$this->y0
;
90
}
91
92
public
function
setWidth
($a_width)
93
{
94
$this->width = $a_width;
95
}
96
97
public
function
getWidth
()
98
{
99
return
$this->width
;
100
}
101
102
public
function
setHeight
($a_height)
103
{
104
$this->height = $a_height;
105
}
106
107
public
function
getHeight
()
108
{
109
return
$this->height
;
110
}
111
112
public
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
public
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
}
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\__construct
__construct()
Definition:
class.ilQTIPresentation.php:45
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
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
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\$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 Sat Jan 18 2025 19:01:36 for ILIAS by
1.8.13 (using
Doxyfile
)