ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
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 Wed Sep 3 2025 22:02:26 for ILIAS by
1.8.13 (using
Doxyfile
)