4 include_once
"./Services/Xml/classes/class.ilXmlWriter.php";
17 private $mode = self::MODE_SOAP;
30 parent::__construct();
40 $this->mode = $a_mode;
65 public function export($a_with_header =
true)
67 if($this->
getMode() == self::MODE_EXPORT)
98 $this->
xmlSetDtdDef(
"<!DOCTYPE container reference PUBLIC \"-//ILIAS//DTD Group//EN\" \"".ILIAS_HTTP_PATH.
"/xml/ilias_container_reference_4_3.dtd\">");
99 $this->
xmlSetGenCmt(
"Export of ILIAS container reference ". $this->
getReference()->getId().
" of installation ".$ilSetting->get(
'inst_id').
".");
setMode($a_mode)
Set export mode.
xmlSetGenCmt($genCmt)
Sets generated comment.
buildReference()
Build category xml.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
xmlStartTag($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE)
Writes a starttag.
buildTitle()
Build title element.
buildTarget()
Build target element.
xmlElement($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE)
Writes a basic element (no children, just textual content)
xmlEndTag($tag)
Writes an endtag.
buildHeader()
Build xml header <type> $ilSetting.
xmlHeader()
Writes xml header public.
__construct(ilContainerReference $ref=null)
constructor
buildFooter()
Add footer elements.
getReference()
Get category object.
Create styles array
The data for the language used.
export($a_with_header=true)
Start wrting xml.
xmlDumpMem($format=TRUE)
Returns xml document from memory.
Class for container reference export.