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;
48 if ($this->add_header) {
51 $this->weblink->toXML($this);
60 $this->
xmlSetDtdDef(
"<!DOCTYPE WebLinks PUBLIC \"-//ILIAS//DTD WebLinkAdministration//EN\" \"" . ILIAS_HTTP_PATH .
"/xml/ilias_weblinks_5_1.dtd\">");
80 include_once
'./Services/Object/classes/class.ilObjectFactory.php';
84 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.