24 include_once
'./Services/Object/classes/class.ilSubItemListGUI.php';
25 include_once
'./Services/Link/classes/class.ilLink.php';
46 $lng->loadLanguageModule(
'content');
49 $this->tpl->setCurrentBlock(
'sea_fragment');
50 $this->tpl->setVariable(
'TXT_FRAGMENT', $this->
getHighlighter()->getContent($this->
getObjId(), $sub_item));
51 $this->tpl->parseCurrentBlock();
53 $this->tpl->setCurrentBlock(
'subitem');
54 $this->tpl->setVariable(
'SEPERATOR',
':');
56 include_once
'./Modules/MediaPool/classes/class.ilMediaPoolItem.php';
60 $this->tpl->setVariable(
'TARGET', $this->
getItemListGUI()->getCommandFrame(
''));
64 $this->tpl->setVariable(
67 '&force_filter=' . $sub_item
69 $this->tpl->setVariable(
'TARGET', $this->
getItemListGUI()->getCommandFrame(
''));
79 #$this->getItemListGUI()->setChildId($sub_item); 84 include_once
'./Modules/MediaPool/classes/class.ilMediaPoolItem.php';
86 $this->tpl->setVariable(
'SEPERATOR',
':');
94 $this->tpl->parseCurrentBlock();
99 return $this->tpl->get();
104 include_once
'./Modules/MediaPool/classes/class.ilMediaPoolItem.php';
108 include_once(
"./Services/MediaObjects/classes/class.ilObjMediaObjectGUI.php");
110 $med = $mob->getMediaItem(
"Standard");
111 $target = $med->getThumbnailTarget();
115 $this->tpl->setVariable(
120 array(
'action' =>
'showMedia',
'mob_id' => $sub_id,
'mepitem_id' => $a_sub_id)
123 $this->tpl->setVariable(
'LINKED_TARGET',
'_blank');
130 $size = @getimagesize($med->getLocation());
137 $this->tpl->setVariable(
"SUB_ITEM_IMAGE",
ilUtil::img($med->getLocation(),
"",
$w,
$h));
getHighlighter()
get highlighter
Base class for all sub item list gui's.
static deducibleSize($a_mime)
checks if mime type is provided by getimagesize()
showDetailsLink()
show details link
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
Create styles array
The data for the language used.
static _lookupType($a_id, $a_reference=false)
lookup object type
static img($a_src, $a_alt="", $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.
parseRelevance($sub_item)
static _getLink($a_ref_id, $a_type='', $a_params=array(), $append="")
getItemListGUI()
get item list gui
getSubItemIds($a_limited=false)
get sub item ids