ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
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
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilDidacticTemplateXmlWriter.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
5
11
class
ilDidacticTemplateXmlWriter
extends
ilXmlWriter
12
{
13
private
ilDidacticTemplateSetting
$tpl
;
14
15
public
function
__construct
(
int
$a_tpl_id)
16
{
17
parent::__construct
();
18
$this->tpl =
new
ilDidacticTemplateSetting
($a_tpl_id);
19
}
20
21
public
function
getSetting
():
ilDidacticTemplateSetting
22
{
23
return
$this->tpl
;
24
}
25
26
public
function
write
(): void
27
{
28
$this->
xmlHeader
();
29
$this->
xmlStartTag
(
'didacticTemplateDefinition'
);
30
31
// add definition setting
32
$this->
getSetting
()->toXml($this);
33
$this->
xmlEndTag
(
'didacticTemplateDefinition'
);
34
}
35
}
ilDidacticTemplateSetting
Definition:
class.ilDidacticTemplateSetting.php:26
ilDidacticTemplateXmlWriter\write
write()
Definition:
class.ilDidacticTemplateXmlWriter.php:26
ilDidacticTemplateXmlWriter\getSetting
getSetting()
Definition:
class.ilDidacticTemplateXmlWriter.php:21
ilXmlWriter
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilXmlWriter.php:30
ilDidacticTemplateXmlWriter
Definition:
class.ilDidacticTemplateXmlWriter.php:11
ilXmlWriter\xmlEndTag
xmlEndTag(string $tag)
Writes an endtag.
Definition:
class.ilXmlWriter.php:305
ilDidacticTemplateXmlWriter\$tpl
ilDidacticTemplateSetting $tpl
Definition:
class.ilDidacticTemplateXmlWriter.php:13
ilXmlWriter\xmlHeader
xmlHeader()
Writes xml header.
Definition:
class.ilXmlWriter.php:238
ilDidacticTemplateXmlWriter\__construct
__construct(int $a_tpl_id)
Definition:
class.ilDidacticTemplateXmlWriter.php:15
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:262
Services
DidacticTemplate
classes
class.ilDidacticTemplateXmlWriter.php
Generated on Tue Apr 1 2025 22:02:20 for ILIAS by
1.8.13 (using
Doxyfile
)