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;
52 $this->weblink->toXML($this);
61 $this->
xmlSetDtdDef(
"<!DOCTYPE WebLinks PUBLIC \"-//ILIAS//DTD WebLinkAdministration//EN\" \"".ILIAS_HTTP_PATH.
"/xml/ilias_weblinks_5_1.dtd\">");
82 include_once
'./Services/Object/classes/class.ilObjectFactory.php';
87 if($this->weblink->getType() !=
'webr')
xmlSetGenCmt($genCmt)
Sets generated comment.
xmlSetDtdDef($dtdDef)
Sets dtd definition.
__construct($a_add_header)
Constructor.
xmlHeader()
Writes xml header public.
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
xmlClear()
clears xmlStr public
buildHeader()
Build XML header.
setObjId($a_obj_id)
Set obj_id of weblink object.