24 include_once
'./Services/Object/classes/class.ilSubItemListGUI.php';
25 include_once
'./Modules/WebResource/classes/class.ilLinkResourceItems.php';
26 include_once
'./Modules/WebResource/classes/class.ilParameterAppender.php';
28 include_once
'./Services/Link/classes/class.ilLink.php';
49 $lng->loadLanguageModule(
'webr');
52 $this->tpl->setCurrentBlock(
'sea_fragment');
53 $this->tpl->setVariable(
'TXT_FRAGMENT', $this->
getHighlighter()->getContent($this->
getObjId(), $sub_item));
54 $this->tpl->parseCurrentBlock();
56 $this->tpl->setCurrentBlock(
'subitem');
57 $this->tpl->setVariable(
'SUBITEM_TYPE', $lng->txt(
'webr'));
58 $this->tpl->setVariable(
'SEPERATOR',
':');
64 if (stristr($link_data[
"target"],
"|")) {
65 $parts = explode(
"|", $link_data[
"target"]);
66 if ($parts[0] ==
"page") {
69 if ($parts[0] ==
"term") {
75 #$this->getItemListGUI()->setChildId($sub_item); 76 $this->tpl->setVariable(
'LINK', $link_data[
'target']);
77 $this->tpl->setVariable(
'TARGET',
'_blank');
78 $this->tpl->setVariable(
'TITLE', $link_data[
'title']);
86 $this->tpl->parseCurrentBlock();
91 return $this->tpl->get();
getHighlighter()
get highlighter
static _getStaticLink( $a_ref_id, $a_type='', $a_fallback_goto=true, $append="")
Get static link.
Base class for all sub item list gui's.
showDetailsLink()
show details link
static _append($a_link_data)
static lookupItem($a_webr_id, $a_link_id)
parseRelevance($sub_item)
getSubItemIds($a_limited=false)
get sub item ids