5include_once(
"Services/Table/classes/class.ilTable2GUI.php");
 
   40        $this->ctrl = 
$DIC->ctrl();
 
   41        $this->lng = 
$DIC->language();
 
   42        $this->access = 
$DIC->access();
 
   43        $this->
user = $DIC->user();
 
   46        $ilAccess = 
$DIC->access();
 
   48        parent::__construct($a_parent_obj, $a_parent_cmd);
 
   49        $lng->loadLanguageModule(
"mep");
 
   53        $this->
addColumn(
$lng->txt(
"mep_title_and_description"), 
"", 
"100%");
 
   57            "tpl.clipboard_tbl_row.html",
 
   68        if ($this->parent_obj->mode == 
"getObject") {
 
   69            $this->
addMultiCommand(
"insert", $this->parent_obj->getInsertButtonTitle());
 
   83        $objs = 
$ilUser->getClipboardObjects(
"mob");
 
   84        $objs2 = 
$ilUser->getClipboardObjects(
"incl");
 
   85        $objs = array_merge($objs, $objs2);
 
  101        if ($a_set[
"type"] == 
"mob") {
 
  104            $med = $mob->getMediaItem(
"Standard");
 
  105            $target = $med->getThumbnailTarget();
 
  107                $this->tpl->setCurrentBlock(
"thumbnail");
 
  108                $this->tpl->setVariable(
"IMG_THUMB", 
$target);
 
  109                $this->tpl->parseCurrentBlock();
 
  111        } elseif ($a_set[
"type"] == 
"incl") {
 
  112            $this->tpl->setCurrentBlock(
"thumbnail");
 
  113            $this->tpl->setVariable(
 
  117            $this->tpl->parseCurrentBlock();
 
  121        if ($this->parent_obj->mode != 
"getObject" && $a_set[
"type"] == 
"mob") {
 
  123            $this->tpl->setCurrentBlock(
"edit");
 
  124            $ilCtrl->setParameter($this->parent_obj, 
"clip_item_id", $a_set[
"id"]);
 
  125            $ilCtrl->setParameterByClass(
"ilObjMediaObjectGUI", 
"clip_item_id", $a_set[
"id"]);
 
  126            $this->tpl->setVariable(
 
  129                    "ilObjMediaObjectGUI",
 
  131                    array(
"ilEditClipboardGUI")
 
  134            $this->tpl->setVariable(
"TEXT_OBJECT", $a_set[
"title"] .
 
  135                " [" . $a_set[
"id"] . 
"]");
 
  136            $this->tpl->parseCurrentBlock();
 
  138            $this->tpl->setCurrentBlock(
"show");
 
  139            $this->tpl->setVariable(
"TEXT_OBJECT2", $a_set[
"title"] .
 
  140                " [" . $a_set[
"id"] . 
"]");
 
  141            $this->tpl->parseCurrentBlock();
 
  144        include_once(
"./Services/MediaObjects/classes/class.ilObjMediaObjectGUI.php");
 
  145        if ($a_set[
"type"] == 
"mob") {
 
  146            $this->tpl->setVariable(
 
  151        $this->tpl->setVariable(
"CHECKBOX_ID", $a_set[
"type"] . 
":" . $a_set[
"id"]);
 
An exception for terminatinating execution or to throw for unit testing.
TableGUI clipboard items.
fillRow($a_set)
Standard Version of Fill Row.
getItems()
Get items from user clipboard.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
setEnableHeader($a_enableheader)
Set Enable Header.
setTitle($a_title, $a_icon=0, $a_icon_alt=0)
Set title and title icon.
setData($a_data)
set table data @access public
setRowTemplate($a_template, $a_template_dir="")
Set row template.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setDefaultOrderField($a_defaultorderfield)
Set Default order field.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
addColumn( $a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="", $a_tooltip_with_html=false)
Add a column to the header.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
static sortArray( $array, $a_array_sortby, $a_array_sortorder=0, $a_numeric=false, $a_keep_keys=false)
sortArray
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)