ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
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
?>
Services
DidacticTemplate
classes
class.ilDidacticTemplateXmlWriter.php
Generated on Wed Apr 27 2016 21:01:38 for ILIAS by
1.8.1.2 (using
Doxyfile
)