24 include_once
"./Services/Object/classes/class.ilObject.php";
49 parent::__construct($a_id,$a_call_by_reference);
91 if(!is_object($md_gen = $md->getGeneral()))
95 $title = $md_gen->getTitle();
96 foreach($md_gen->getDescriptionIds() as
$id)
98 $md_des = $md_gen->getDescription(
$id);
99 $description = $md_des->getDescription();
105 include_once
'./Modules/WebResource/classes/class.ilLinkResourceItems.php';
110 $link->readItem($link_arr[
'link_id']);
112 $link->setDescription($description);
133 if (!parent::delete())
139 include_once
'./Modules/WebResource/classes/class.ilLinkResourceItems.php';
144 include_once
'./Services/LinkChecker/classes/class.ilLinkCheckNotify.php';
155 include_once
'./Modules/WebResource/classes/class.ilLinkResourceItems.php';
176 include_once(
'Modules/WebResource/classes/class.ilLinkResourceItems.php');
178 $links->cloneItems($new_obj->getId());
197 $attribs = array(
"obj_id" =>
"il_".IL_INST_ID.
"_webr_".$this->getId());
202 include_once
'Services/MetaData/classes/class.ilMD2XML.php';
204 $md2xml->startExport();
208 include_once
'./Services/Container/classes/class.ilContainerSortingSettings.php';
214 array(
'type' =>
'Manual')
222 array(
'type' =>
'Title')
228 include_once
'./Modules/WebResource/classes/class.ilLinkResourceItems.php';
230 $links->toXML($writer);