ILIAS
trunk Revision v11.0_alpha-1843-g9e1fad99175
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
class.ilDidacticTemplateXmlWriter.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
25
class
ilDidacticTemplateXmlWriter
extends
ilXmlWriter
26
{
27
private
ilDidacticTemplateSetting
$tpl
;
28
29
public
function
__construct
(
int
$a_tpl_id)
30
{
31
parent::__construct
();
32
$this->tpl =
new
ilDidacticTemplateSetting
($a_tpl_id);
33
}
34
35
public
function
getSetting
():
ilDidacticTemplateSetting
36
{
37
return
$this->tpl
;
38
}
39
40
public
function
write
(): void
41
{
42
$this->
xmlHeader
();
43
$this->
xmlStartTag
(
'didacticTemplateDefinition'
);
44
45
// add definition setting
46
$this->
getSetting
()->toXml($this);
47
$this->
xmlEndTag
(
'didacticTemplateDefinition'
);
48
}
49
}
ilXmlWriter
ilDidacticTemplateSetting
Definition:
class.ilDidacticTemplateSetting.php:26
ilDidacticTemplateXmlWriter\write
write()
Definition:
class.ilDidacticTemplateXmlWriter.php:40
ilDidacticTemplateXmlWriter\getSetting
getSetting()
Definition:
class.ilDidacticTemplateXmlWriter.php:35
ilDidacticTemplateXmlWriter
Definition:
class.ilDidacticTemplateXmlWriter.php:25
ilXmlWriter\xmlEndTag
xmlEndTag(string $tag)
Writes an endtag.
Definition:
class.ilXmlWriter.php:281
ilDidacticTemplateXmlWriter\$tpl
ilDidacticTemplateSetting $tpl
Definition:
class.ilDidacticTemplateXmlWriter.php:27
ilXmlWriter\xmlHeader
xmlHeader()
Writes xml header.
Definition:
class.ilXmlWriter.php:214
ilDidacticTemplateXmlWriter\__construct
__construct(int $a_tpl_id)
Definition:
class.ilDidacticTemplateXmlWriter.php:29
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ilXmlWriter\xmlStartTag
xmlStartTag(string $tag, ?array $attrs=null, bool $empty=false, bool $encode=true, bool $escape=true)
Writes a starttag.
Definition:
class.ilXmlWriter.php:238
components
ILIAS
DidacticTemplate
classes
class.ilDidacticTemplateXmlWriter.php
Generated on Thu Apr 17 2025 23:02:41 for ILIAS by
1.8.13 (using
Doxyfile
)