24 include_once
'./Services/Object/classes/class.ilSubItemListGUI.php';
25 include_once
'./Services/Link/classes/class.ilLink.php';
46 $lng->loadLanguageModule(
'content');
51 $this->tpl->setCurrentBlock(
'sea_fragment');
53 $this->tpl->parseCurrentBlock();
55 $this->tpl->setCurrentBlock(
'subitem');
56 $this->tpl->setVariable(
'SEPERATOR',
':');
58 include_once
'./Modules/MediaPool/classes/class.ilMediaPoolItem.php';
63 $this->tpl->setVariable(
'TARGET',$this->
getItemListGUI()->getCommandFrame(
''));
67 $this->tpl->setVariable(
'LINK',
69 '&force_filter='.$sub_item
71 $this->tpl->setVariable(
'TARGET',$this->
getItemListGUI()->getCommandFrame(
''));
79 $this->tpl->setVariable(
'SUBITEM_TYPE',$lng->txt(
'obj_'.ilMediaPoolItem::lookupType($sub_item)));
81 #$this->getItemListGUI()->setChildId($sub_item); 87 include_once
'./Modules/MediaPool/classes/class.ilMediaPoolItem.php';
88 $this->tpl->setVariable(
'SUBITEM_TYPE',$lng->txt(
'obj_'.ilMediaPoolItem::lookupType($sub_item)));
89 $this->tpl->setVariable(
'SEPERATOR',
':');
98 $this->tpl->parseCurrentBlock();
103 return $this->tpl->get();
108 include_once
'./Modules/MediaPool/classes/class.ilMediaPoolItem.php';
113 include_once(
"./Services/MediaObjects/classes/class.ilObjMediaObjectGUI.php");
115 $med = $mob->getMediaItem(
"Standard");
116 $target = $med->getThumbnailTarget();
121 $this->tpl->setVariable(
'LINKED_LINK',
125 array(
'action' =>
'showMedia',
'mob_id' => $sub_id,
'mepitem_id' => $a_sub_id)));
126 $this->tpl->setVariable(
'LINKED_TARGET',
'_blank');
136 $size = @getimagesize($med->getLocation());
144 $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