35         $this->
ctrl = $DIC->ctrl();
    36         $this->
lng = $DIC->language();
    37         $this->
access = $DIC->access();
    38         $this->
user = $DIC->user();
    39         $ilCtrl = $DIC->ctrl();
    40         $lng = $DIC->language();
    41         $this->thumbs_gui = $DIC->mediaObjects()->internal()->gui()->thumbs();
    52             "tpl.clipboard_tbl_row.html",
    53             "components/ILIAS/MediaPool/Clipboard"    63         if ($this->parent_obj->mode === 
"getObject") {
    64             $this->
addMultiCommand(
"insert", $this->parent_obj->getInsertButtonTitle());
    79         $objs2 = $ilUser->getClipboardObjects(
"incl");
    80         $objs = array_merge($objs, $objs2);
    85     protected function fillRow(array $a_set): void
    90         if ($a_set[
"type"] === 
"mob") {
    91             $this->tpl->setVariable(
    93                 $this->thumbs_gui->getThumbHtml((
int) $a_set[
"id"])
    95         } elseif ($a_set[
"type"] === 
"incl") {
    96             $this->tpl->setCurrentBlock(
"thumbnail");
    97             $this->tpl->setVariable(
   101             $this->tpl->parseCurrentBlock();
   105         if ($this->parent_obj->mode !== 
"getObject" && $a_set[
"type"] === 
"mob") {
   107             $this->tpl->setCurrentBlock(
"edit");
   108             $ilCtrl->
setParameter($this->parent_obj, 
"clip_item_id", $a_set[
"id"]);
   109             $ilCtrl->setParameterByClass(
"ilObjMediaObjectGUI", 
"clip_item_id", $a_set[
"id"]);
   110             $this->tpl->setVariable(
   112                 $ilCtrl->getLinkTargetByClass(
   113                     "ilObjMediaObjectGUI",
   117             $this->tpl->setVariable(
"TEXT_OBJECT", $a_set[
"title"] .
   118                 " [" . $a_set[
"id"] . 
"]");
   120             $this->tpl->setCurrentBlock(
"show");
   121             $this->tpl->setVariable(
"TEXT_OBJECT2", $a_set[
"title"] .
   122                 " [" . $a_set[
"id"] . 
"]");
   124         $this->tpl->parseCurrentBlock();
   126         if ($a_set[
"type"] === 
"mob") {
   127             $this->tpl->setVariable(
   132         $this->tpl->setVariable(
"CHECKBOX_ID", $a_set[
"type"] . 
":" . $a_set[
"id"]);
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ILIAS MediaObjects Thumbs ThumbsGUI $thumbs_gui
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
loadLanguageModule(string $a_module)
Load language module. 
 
getItems()
Get items from user clipboard. 
 
__construct(object $a_parent_obj, string $a_parent_cmd)
 
getClipboardObjects(string $a_type='', bool $a_top_nodes_only=false)
get all clipboard objects of user and specified type 
 
setDefaultOrderField(string $a_defaultorderfield)
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory) 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
__construct(Container $dic, ilPlugin $plugin)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
setParameter(object $a_gui_obj, string $a_parameter, $a_value)
 
addMultiCommand(string $a_cmd, string $a_text)
 
setEnableHeader(bool $a_enableheader)