4 include_once
"./Services/Xml/classes/class.ilXmlWriter.php";
26 $this->add_header = $a_add_header;
27 parent::__construct();
37 $this->obj_id = $a_obj_id;
54 $this->
xmlElement(
'Description',
array(),$this->folder->getDescription());
55 include_once
'./Services/Container/classes/class.ilContainerSortingSettings.php';
66 $this->
xmlSetDtdDef(
"<!DOCTYPE WebLinks PUBLIC \"-//ILIAS//DTD WebLinkAdministration//EN\" \"".ILIAS_HTTP_PATH.
"/xml/ilias_fold_4_5.dtd\">");
87 include_once
'./Services/Object/classes/class.ilObjectFactory.php';
92 if($this->folder->getType() !=
'fold')
xmlSetGenCmt($genCmt)
Sets generated comment.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
setObjId($a_obj_id)
Set obj_id of weblink object.
xmlStartTag($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE)
Writes a starttag.
xmlElement($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE)
Writes a basic element (no children, just textual content)
__construct($a_add_header)
Constructor.
xmlEndTag($tag)
Writes an endtag.
xmlHeader()
Writes xml header public.
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
Create styles array
The data for the language used.
buildHeader()
Build XML header.
static _exportContainerSortingSettings(ilXmlWriter $xml, $obj_id)
sorting XML-export for all container objects
xmlClear()
clears xmlStr public