ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
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
public
$ilias
;
22
public
$xml
;
23
public
$structureObject
;
24
public
$user_id
= 0;
25
33
public
function
__construct
()
34
{
35
global
$DIC
;
36
37
$ilias
= $DIC[
'ilias'
];
38
$ilUser
= $DIC[
'ilUser'
];
39
40
parent::__construct();
41
42
$this->
ilias
=&
$ilias
;
43
$this->user_id =
$ilUser
->getId();
44
}
45
46
47
public
function
setStructureObject
(&
$structureObject
)
48
{
49
$this->structureObject = &
$structureObject
;
50
}
51
52
53
public
function
start
()
54
{
55
if
(!is_object($this->structureObject)) {
56
return
false
;
57
}
58
59
$this->
__buildHeader
();
60
61
$this->structureObject->exportXML($this);
62
63
$this->
__buildFooter
();
64
65
return
true
;
66
}
67
68
public
function
getXML
()
69
{
70
return
$this->
xmlDumpMem
(
false
);
71
}
72
73
74
public
function
__buildHeader
()
75
{
76
$this->
xmlSetDtdDef
(
"<!DOCTYPE RepositoryObject PUBLIC \"-//ILIAS//DTD UserImport//EN\" \""
. ILIAS_HTTP_PATH .
"/xml/ilias_soap_structure_object_3_7.dtd\">"
);
77
$this->
xmlSetGenCmt
(
"Internal Structure Information of Repository Object"
);
78
$this->
xmlHeader
();
79
80
81
return
true
;
82
}
83
84
public
function
__buildFooter
()
85
{
86
}
87
}
ilSoapStructureObjectXMLWriter\start
start()
Definition:
class.ilSoapStructureObjectXMLWriter.php:53
ilXmlWriter\xmlSetGenCmt
xmlSetGenCmt($genCmt)
Sets generated comment.
Definition:
class.ilXmlWriter.php:121
ilXmlWriter\xmlSetDtdDef
xmlSetDtdDef($dtdDef)
Sets dtd definition.
Definition:
class.ilXmlWriter.php:101
$DIC
global $DIC
Definition:
saml.php:7
ilXmlWriter\xmlDumpMem
xmlDumpMem($format=true)
Returns xml document from memory.
Definition:
class.ilXmlWriter.php:446
ilSoapStructureObjectXMLWriter\setStructureObject
setStructureObject(&$structureObject)
Definition:
class.ilSoapStructureObjectXMLWriter.php:47
ilSoapStructureObjectXMLWriter\getXML
getXML()
Definition:
class.ilSoapStructureObjectXMLWriter.php:68
ilXmlWriter
XML writer class.
Definition:
class.ilXmlWriter.php:17
ilSoapStructureObjectXMLWriter\$user_id
$user_id
Definition:
class.ilSoapStructureObjectXMLWriter.php:24
ilSoapStructureObjectXMLWriter\$structureObject
$structureObject
Definition:
class.ilSoapStructureObjectXMLWriter.php:23
ilSoapStructureObjectXMLWriter
XML writer class.
Definition:
class.ilSoapStructureObjectXMLWriter.php:19
ilSoapStructureObjectXMLWriter\$xml
$xml
Definition:
class.ilSoapStructureObjectXMLWriter.php:22
ilSoapStructureObjectXMLWriter\__buildHeader
__buildHeader()
Definition:
class.ilSoapStructureObjectXMLWriter.php:74
ilSoapStructureObjectXMLWriter\__buildFooter
__buildFooter()
Definition:
class.ilSoapStructureObjectXMLWriter.php:84
$ilUser
$ilUser
Definition:
imgupload.php:18
ilias
redirection script todo: (a better solution should control the processing via a xml file) ...
ilXmlWriter\xmlHeader
xmlHeader()
Writes xml header public.
Definition:
class.ilXmlWriter.php:275
ilSoapStructureObjectXMLWriter\$ilias
$ilias
Definition:
class.ilSoapStructureObjectXMLWriter.php:21
ilSoapStructureObjectXMLWriter\__construct
__construct()
constructor
Definition:
class.ilSoapStructureObjectXMLWriter.php:33
php
webservice
soap
classes
class.ilSoapStructureObjectXMLWriter.php
Generated on Thu Jan 30 2025 19:02:13 for ILIAS by
1.8.13 (using
Doxyfile
)