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());
190 $attribs = array(
"obj_id" =>
"il_".IL_INST_ID.
"_webr_".$this->getId());
195 include_once
'Services/MetaData/classes/class.ilMD2XML.php';
197 $md2xml->startExport();
201 include_once
'./Services/Container/classes/class.ilContainerSortingSettings.php';
207 array(
'type' =>
'Manual')
215 array(
'type' =>
'Title')
221 include_once
'./Modules/WebResource/classes/class.ilLinkResourceItems.php';
223 $links->toXML($writer);