4 include_once
"./Services/Xml/classes/class.ilXmlWriter.php";
26 $this->add_header = $a_add_header;
37 $this->obj_id = $a_obj_id;
52 $this->
xmlStartTag(
'Folder',array(
'Id' => $this->folder->getId()));
53 $this->
xmlElement(
'Title',array(),$this->folder->getTitle());
54 $this->
xmlElement(
'Description',array(),$this->folder->getDescription());
64 $this->
xmlSetDtdDef(
"<!DOCTYPE WebLinks PUBLIC \"-//ILIAS//DTD WebLinkAdministration//EN\" \"".ILIAS_HTTP_PATH.
"/xml/ilias_weblinks_4_0.dtd\">");
83 throw new UnexpectedValueException(
'No obj_id given: ');
85 include_once
'./classes/class.ilObjectFactory.php';
88 throw new UnexpectedValueException(
'Invalid obj_id given: '.$this->obj_id);
90 if($this->folder->getType() !=
'fold')
92 throw new UnexpectedValueException(
'Invalid obj_id given. Object is not of type folder');