4 include_once
"./Services/Xml/classes/class.ilXmlWriter.php";
22 private $mode = self::MODE_SOAP;
38 parent::__construct();
48 $this->mode = $a_mode;
73 public function export($a_with_header =
true)
75 if ($this->
getMode() == self::MODE_EXPORT) {
104 $this->
xmlSetDtdDef(
"<!DOCTYPE container reference PUBLIC \"-//ILIAS//DTD Group//EN\" \"" . ILIAS_HTTP_PATH .
"/xml/ilias_container_reference_4_3.dtd\">");
setMode($a_mode)
Set export mode.
xmlStartTag($tag, $attrs=null, $empty=false, $encode=true, $escape=true)
Writes a starttag.
xmlSetGenCmt($genCmt)
Sets generated comment.
buildReference()
Build category xml.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
xmlDumpMem($format=true)
Returns xml document from memory.
buildTitle()
Build title element.
buildTarget()
Build target element.
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.
xmlElement($tag, $attrs=null, $data=null, $encode=true, $escape=true)
Writes a basic element (no children, just textual content)
export($a_with_header=true)
Start wrting xml.
Class for container reference export.