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