ILIAS
release_4-3 Revision
◀ 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.ilSoapStructureObjectXMLWriter.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once
"./Services/Xml/classes/class.ilXmlWriter.php"
;
6
19
class
ilSoapStructureObjectXMLWriter
extends
ilXmlWriter
20
{
21
var
$ilias
;
22
var
$xml
;
23
var
$structureObject
;
24
var
$user_id
= 0;
25
33
function
ilSoapStructureObjectXMLWriter
()
34
{
35
global
$ilias
,
$ilUser
;
36
37
parent::ilXmlWriter
();
38
39
$this->ilias =&
$ilias
;
40
$this->user_id = $ilUser->getId();
41
}
42
43
44
function
setStructureObject
(&
$structureObject
)
45
{
46
$this->structureObject = &
$structureObject
;
47
}
48
49
50
function
start
()
51
{
52
if
(!is_object($this->structureObject))
53
return
false
;
54
55
$this->
__buildHeader
();
56
57
$this->structureObject->exportXML ($this);
58
59
$this->
__buildFooter
();
60
61
return
true
;
62
}
63
64
function
getXML
()
65
{
66
return
$this->
xmlDumpMem
(FALSE);
67
}
68
69
70
function
__buildHeader
()
71
{
72
$this->
xmlSetDtdDef
(
"<!DOCTYPE RepositoryObject PUBLIC \"-//ILIAS//DTD UserImport//EN\" \""
.ILIAS_HTTP_PATH.
"/xml/ilias_soap_structure_object_3_7.dtd\">"
);
73
$this->
xmlSetGenCmt
(
"Internal Structure Information of Repository Object"
);
74
$this->
xmlHeader
();
75
76
77
return
true
;
78
}
79
80
function
__buildFooter
()
81
{
82
83
}
84
85
}
86
87
88
?>
webservice
soap
classes
class.ilSoapStructureObjectXMLWriter.php
Generated on Sat Apr 30 2016 19:01:21 for ILIAS by
1.8.1.2 (using
Doxyfile
)