ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilQTIMattext.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
24
define(
"SPACE_PRESERVE"
,
"1"
);
25
define(
"SPACE_DEFAULT"
,
"2"
);
26
35
class
ilQTIMattext
36
{
37
public
$texttype
;
38
public
$label
;
39
public
$charset
;
40
public
$uri
;
41
public
$xmlspace
;
42
public
$xmllang
;
43
public
$entityref
;
44
public
$width
;
45
public
$height
;
46
public
$x0
;
47
public
$y0
;
48
public
$content
;
49
50
public
function
__construct
()
51
{
52
}
53
54
public
function
setTexttype
($a_texttype)
55
{
56
$this->texttype = $a_texttype;
57
}
58
59
public
function
getTexttype
()
60
{
61
return
$this->texttype
;
62
}
63
64
public
function
setLabel
($a_label)
65
{
66
$this->label = $a_label;
67
}
68
69
public
function
getLabel
()
70
{
71
return
$this->label
;
72
}
73
74
public
function
setHeight
($a_height)
75
{
76
$this->height = $a_height;
77
}
78
79
public
function
getHeight
()
80
{
81
return
$this->height
;
82
}
83
84
public
function
setWidth
($a_width)
85
{
86
$this->width = $a_width;
87
}
88
89
public
function
getWidth
()
90
{
91
return
$this->width
;
92
}
93
94
public
function
setCharset
($a_charset)
95
{
96
$this->charset = $a_charset;
97
}
98
99
public
function
getCharset
()
100
{
101
return
$this->charset
;
102
}
103
104
public
function
setUri
($a_uri)
105
{
106
$this->uri = $a_uri;
107
}
108
109
public
function
getUri
()
110
{
111
return
$this->uri
;
112
}
113
114
public
function
setXmllang
($a_xmllang)
115
{
116
$this->xmllang = $a_xmllang;
117
}
118
119
public
function
getXmllang
()
120
{
121
return
$this->xmllang
;
122
}
123
124
public
function
setXmlspace
($a_xmlspace)
125
{
126
switch
(strtolower($a_xmlspace)) {
127
case
"preserve"
:
128
case
"1"
:
129
$this->xmlspace =
SPACE_PRESERVE
;
130
break
;
131
case
"default"
:
132
case
"2"
:
133
$this->xmlspace =
SPACE_DEFAULT
;
134
break
;
135
}
136
}
137
138
public
function
getXmlspace
()
139
{
140
return
$this->xmlspace
;
141
}
142
143
public
function
setX0
($a_x0)
144
{
145
$this->x0 = $a_x0;
146
}
147
148
public
function
getX0
()
149
{
150
return
$this->x0
;
151
}
152
153
public
function
setY0
($a_y0)
154
{
155
$this->y0 = $a_y0;
156
}
157
158
public
function
getY0
()
159
{
160
return
$this->y0
;
161
}
162
163
public
function
setEntityref
($a_entityref)
164
{
165
$this->entityref = $a_entityref;
166
}
167
168
public
function
getEntityref
()
169
{
170
return
$this->entityref
;
171
}
172
173
public
function
setContent
(
$a_content
)
174
{
175
$this->content =
$a_content
;
176
}
177
178
public
function
getContent
()
179
{
180
return
$this->content
;
181
}
182
}
ilQTIMattext\getY0
getY0()
Definition:
class.ilQTIMattext.php:158
ilQTIMattext\$x0
$x0
Definition:
class.ilQTIMattext.php:46
ilQTIMattext\getXmllang
getXmllang()
Definition:
class.ilQTIMattext.php:119
ilQTIMattext\setY0
setY0($a_y0)
Definition:
class.ilQTIMattext.php:153
ilQTIMattext\getEntityref
getEntityref()
Definition:
class.ilQTIMattext.php:168
ilQTIMattext\setContent
setContent($a_content)
Definition:
class.ilQTIMattext.php:173
ilQTIMattext
Definition:
class.ilQTIMattext.php:35
ilQTIMattext\setWidth
setWidth($a_width)
Definition:
class.ilQTIMattext.php:84
ilQTIMattext\getHeight
getHeight()
Definition:
class.ilQTIMattext.php:79
ilQTIMattext\setXmlspace
setXmlspace($a_xmlspace)
Definition:
class.ilQTIMattext.php:124
ilQTIMattext\setXmllang
setXmllang($a_xmllang)
Definition:
class.ilQTIMattext.php:114
ilQTIMattext\$xmlspace
$xmlspace
Definition:
class.ilQTIMattext.php:41
ilQTIMattext\getX0
getX0()
Definition:
class.ilQTIMattext.php:148
ilQTIMattext\setHeight
setHeight($a_height)
Definition:
class.ilQTIMattext.php:74
SPACE_PRESERVE
const SPACE_PRESERVE
Definition:
class.ilQTIMattext.php:24
ilQTIMattext\$width
$width
Definition:
class.ilQTIMattext.php:44
ilQTIMattext\getLabel
getLabel()
Definition:
class.ilQTIMattext.php:69
ilQTIMattext\getTexttype
getTexttype()
Definition:
class.ilQTIMattext.php:59
SPACE_DEFAULT
const SPACE_DEFAULT
Definition:
class.ilQTIMattext.php:25
ilQTIMattext\$charset
$charset
Definition:
class.ilQTIMattext.php:39
ilQTIMattext\getUri
getUri()
Definition:
class.ilQTIMattext.php:109
ilQTIMattext\getCharset
getCharset()
Definition:
class.ilQTIMattext.php:99
$a_content
$a_content
Definition:
workflow.php:93
ilQTIMattext\$xmllang
$xmllang
Definition:
class.ilQTIMattext.php:42
ilQTIMattext\$y0
$y0
Definition:
class.ilQTIMattext.php:47
ilQTIMattext\$entityref
$entityref
Definition:
class.ilQTIMattext.php:43
ilQTIMattext\setEntityref
setEntityref($a_entityref)
Definition:
class.ilQTIMattext.php:163
ilQTIMattext\$content
$content
Definition:
class.ilQTIMattext.php:48
ilQTIMattext\__construct
__construct()
Definition:
class.ilQTIMattext.php:50
ilQTIMattext\setTexttype
setTexttype($a_texttype)
Definition:
class.ilQTIMattext.php:54
ilQTIMattext\$uri
$uri
Definition:
class.ilQTIMattext.php:40
ilQTIMattext\setUri
setUri($a_uri)
Definition:
class.ilQTIMattext.php:104
ilQTIMattext\getXmlspace
getXmlspace()
Definition:
class.ilQTIMattext.php:138
ilQTIMattext\setCharset
setCharset($a_charset)
Definition:
class.ilQTIMattext.php:94
ilQTIMattext\getContent
getContent()
Definition:
class.ilQTIMattext.php:178
ilQTIMattext\$label
$label
Definition:
class.ilQTIMattext.php:38
ilQTIMattext\getWidth
getWidth()
Definition:
class.ilQTIMattext.php:89
ilQTIMattext\$texttype
$texttype
Definition:
class.ilQTIMattext.php:37
ilQTIMattext\$height
$height
Definition:
class.ilQTIMattext.php:45
ilQTIMattext\setLabel
setLabel($a_label)
Definition:
class.ilQTIMattext.php:64
ilQTIMattext\setX0
setX0($a_x0)
Definition:
class.ilQTIMattext.php:143
Services
QTI
classes
class.ilQTIMattext.php
Generated on Sat Jan 18 2025 19:01:36 for ILIAS by
1.8.13 (using
Doxyfile
)