ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ 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
x
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
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.ilDidacticTemplateXmlWriter.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
include_once
'./Services/Xml/classes/class.ilXmlWriter.php'
;
5
12
class
ilDidacticTemplateXmlWriter
extends
ilXmlWriter
13
{
14
private
$tpl
= null;
15
19
public
function
__construct
($a_tpl_id)
20
{
21
parent::__construct();
22
23
include_once
'./Services/DidacticTemplate/classes/class.ilDidacticTemplateSetting.php'
;
24
$this->tpl =
new
ilDidacticTemplateSetting
($a_tpl_id);
25
}
26
31
public
function
getSetting
()
32
{
33
return
$this->tpl
;
34
}
35
39
public
function
write
()
40
{
41
$this->
xmlHeader
();
42
$this->
xmlStartTag
(
'didacticTemplateDefinition'
);
43
44
// add definition setting
45
$this->
getSetting
()->toXml($this);
46
47
$this->
xmlEndTag
(
'didacticTemplateDefinition'
);
48
}
49
}
50
51
?>
ilDidacticTemplateXmlWriter\__construct
__construct($a_tpl_id)
Constructor.
Definition:
class.ilDidacticTemplateXmlWriter.php:19
ilDidacticTemplateSetting
Definition:
class.ilDidacticTemplateSetting.php:10
ilDidacticTemplateXmlWriter\write
write()
Write xml.
Definition:
class.ilDidacticTemplateXmlWriter.php:39
ilXmlWriter\xmlStartTag
xmlStartTag($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE)
Writes a starttag.
Definition:
class.ilXmlWriter.php:332
ilDidacticTemplateXmlWriter\getSetting
getSetting()
Get template setting.
Definition:
class.ilDidacticTemplateXmlWriter.php:31
ilXmlWriter
XML writer class.
Definition:
class.ilXmlWriter.php:17
ilDidacticTemplateXmlWriter
Definition:
class.ilDidacticTemplateXmlWriter.php:12
ilXmlWriter\xmlEndTag
xmlEndTag($tag)
Writes an endtag.
Definition:
class.ilXmlWriter.php:375
ilDidacticTemplateXmlWriter\$tpl
$tpl
Definition:
class.ilDidacticTemplateXmlWriter.php:14
ilXmlWriter\xmlHeader
xmlHeader()
Writes xml header public.
Definition:
class.ilXmlWriter.php:297
Services
DidacticTemplate
classes
class.ilDidacticTemplateXmlWriter.php
Generated on Mon Mar 31 2025 19:00:45 for ILIAS by
1.8.13 (using
Doxyfile
)