4 require_once (
"./Services/COPage/classes/class.ilPageContentGUI.php");
5 require_once (
"./Services/COPage/classes/class.ilMediaAliasItem.php");
6 require_once (
"./Services/MediaObjects/classes/class.ilObjMediaObjectGUI.php");
41 $this->header = $a_title;
56 $this->enabledmapareas = $a_enabledmapareas;
66 return $this->enabledmapareas;
79 $next_class = $this->ctrl->getNextClass($this);
82 $cmd = $this->ctrl->getCmd();
84 if (is_object ($this->content_obj))
87 $this->
getTabs($this->tabs_gui);
89 $mob = $this->content_obj->getMediaObject();
92 $tpl->setVariable(
"HEADER", $lng->txt(
"mob").
": ".
93 $this->content_obj->getMediaObject()->getTitle());
94 $mob_gui =&
new ilObjMediaObjectGUI(
"", $this->content_obj->getMediaObject()->getId(),
false,
false);
97 $mob_gui->getTabs($this->tabs_gui);
106 case "ilobjmediaobjectgui":
107 include_once (
"./Services/MediaObjects/classes/class.ilObjMediaObjectGUI.php");
109 $this->tpl->setTitle($this->lng->txt(
"mob").
": ".
110 $this->content_obj->getMediaObject()->getTitle());
111 $mob_gui =&
new ilObjMediaObjectGUI(
"", $this->content_obj->getMediaObject()->getId(),
false,
false);
114 $ret =& $this->ctrl->forwardCommand($mob_gui);
118 case "ilpcimagemapeditorgui":
119 require_once(
"./Services/COPage/classes/class.ilPCImageMapEditorGUI.php");
120 $ilTabs->setTabActive(
"cont_inst_map_areas");
123 $ret = $this->ctrl->forwardCommand($image_map_edit);
124 $tpl->setContent(
$ret);
138 function insert($a_post_cmd =
"edpost", $a_submit_cmd =
"create_mob", $a_input_error =
false)
142 if (
$_GET[
"subCmd"] ==
"insertNew")
144 $_SESSION[
"cont_media_insert"] =
"insertNew";
146 if (
$_GET[
"subCmd"] ==
"insertFromPool")
148 $_SESSION[
"cont_media_insert"] =
"insertFromPool";
151 if ((
$_GET[
"subCmd"] ==
"") &&
$_SESSION[
"cont_media_insert"] !=
"")
156 switch (
$_GET[
"subCmd"])
158 case "insertFromPool":
162 case "poolSelection":
173 $ilTabs->setSubTabActive(
"cont_new_mob");
175 include_once(
"./Services/MediaObjects/classes/class.ilObjMediaObjectGUI.php");
183 $mob_gui->initForm(
"create");
184 $form = $mob_gui->getForm();
186 $form->setFormAction($ilCtrl->getFormAction($this,
"create_mob"));
187 $form->clearCommandButtons();
188 $form->addCommandButton(
"create_mob", $lng->txt(
"save"));
189 $form->addCommandButton(
"cancelCreate", $lng->txt(
"cancel"));
193 $tpl->setContent($form->getHTML());
206 if (
$_GET[
"subCmd"] ==
"insertNew")
208 $_SESSION[
"cont_media_insert"] =
"insertNew";
210 if (
$_GET[
"subCmd"] ==
"insertFromPool")
212 $_SESSION[
"cont_media_insert"] =
"insertFromPool";
215 if ((
$_GET[
"subCmd"] ==
"") &&
$_SESSION[
"cont_media_insert"] !=
"")
220 switch (
$_GET[
"subCmd"])
222 case "insertFromPool":
226 case "poolSelection":
236 $ilCtrl->setParameter($this,
"subCmd",
"changeObjectReference");
237 $this->
getTabs($ilTabs,
true,
true);
238 $ilTabs->setSubTabActive(
"cont_new_mob");
243 $mob_gui->initForm(
"create");
244 $form = $mob_gui->getForm();
245 $form->setFormAction($ilCtrl->getFormAction($this));
246 $form->clearCommandButtons();
247 $form->addCommandButton(
"createNewObjectReference", $lng->txt(
"save"));
248 $form->addCommandButton(
"cancelCreate", $lng->txt(
"cancel"));
249 $this->tpl->setContent($form->getHTML());
261 if (
$_SESSION[
"cont_media_pool"] !=
"" &&
262 $ilAccess->checkAccess(
"write",
"",
$_SESSION[
"cont_media_pool"])
265 $tpl->addBlockfile(
"BUTTONS",
"buttons",
"tpl.buttons.html");
266 $tpl->setCurrentBlock(
"btn_cell");
267 $ilCtrl->setParameter($this,
"subCmd",
"poolSelection");
268 if ($a_change_obj_ref)
270 $tpl->setVariable(
"BTN_LINK",
271 $ilCtrl->getLinkTarget($this,
"changeObjectReference"));
275 $tpl->setVariable(
"BTN_LINK",
276 $ilCtrl->getLinkTarget($this,
"insert"));
278 $ilCtrl->setParameter($this,
"subCmd",
"");
279 $tpl->setVariable(
"BTN_TXT", $lng->txt(
"cont_switch_to_media_pool"));
280 $tpl->parseCurrentBlock();
282 $this->
getTabs($ilTabs,
true, $a_change_obj_ref);
283 $ilTabs->setSubTabActive(
"cont_mob_from_media_pool");
285 include_once(
"./Modules/MediaPool/classes/class.ilObjMediaPool.php");
286 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolTableGUI.php");
288 $ilCtrl->setParameter($this,
"subCmd",
"insertFromPool");
289 $tcmd = ($a_change_obj_ref)
290 ?
"changeObjectReference"
292 $tmode = ($a_change_obj_ref)
298 $tpl->setContent($mpool_table->getHTML());
314 $ilCtrl->setParameter($this,
"subCmd",
"insertFromPool");
315 if ($a_change_obj_ref)
317 $ilCtrl->redirect($this,
"changeObjectReference");
321 $ilCtrl->redirect($this,
"insert");
332 $this->
getTabs($ilTabs,
true, $a_change_obj_ref);
333 $ilTabs->setSubTabActive(
"cont_mob_from_media_pool");
335 include_once
"./Services/COPage/classes/class.ilPoolSelectorGUI.php";
337 if ($a_change_obj_ref)
339 $exp =
new ilPoolSelectorGUI($this->ctrl->getLinkTarget($this,
"changeObjectReference"));
345 if (
$_GET[
"expand"] ==
"")
347 $expanded = $tree->readRootId();
351 $expanded =
$_GET[
"expand"];
353 $exp->setExpand($expanded);
355 $exp->setTargetGet(
"sel_id");
356 $this->ctrl->setParameter($this,
"target_type", $a_type);
357 $ilCtrl->setParameter($this,
"subCmd",
"poolSelection");
358 if ($a_change_obj_ref)
360 $exp->setParamsGet($this->ctrl->getParameterArray($this,
"changeObjectReference"));
364 $exp->setParamsGet($this->ctrl->getParameterArray($this,
"insert"));
368 $exp->setFiltered(
true);
370 $exp->addFilter(
"root");
371 $exp->addFilter(
"cat");
372 $exp->addFilter(
"grp");
373 $exp->addFilter(
"fold");
374 $exp->addFilter(
"crs");
375 $exp->addFilter(
"mep");
377 $sel_types = array(
'mep');
381 $tpl->setContent($exp->getOutput());
391 $this->
create(
false,
true);
403 include_once(
"./Services/COPage/classes/class.ilPCMediaObject.php");
404 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
406 $this->content_obj->readMediaObject($fid);
407 $this->content_obj->updateObjectReference();
408 $this->updated = $this->pg_obj->update();
413 $ilCtrl->redirect($this,
"changeObjectReference");
416 $ilCtrl->redirect($this,
"editAlias");
422 function &
create($a_create_alias =
true, $a_change_obj_ref =
false)
426 if (
$_GET[
"subCmd"] ==
"insertFromPool")
428 if (is_array(
$_POST[
"id"]))
430 for($i = count(
$_POST[
"id"]) - 1; $i>=0; $i--)
432 include_once(
"./Modules/MediaPool/classes/class.ilMediaPoolItem.php");
434 include_once(
"./Services/COPage/classes/class.ilPCMediaObject.php");
436 $this->content_obj->readMediaObject($fid);
437 $this->content_obj->createAlias($this->pg_obj,
$_GET[
"hier_id"], $this->pc_id);
439 $this->updated = $this->pg_obj->update();
442 $ilCtrl->returnToParent($this);
447 $mob_gui->initForm(
"create");
449 if (!$mob_gui->checkFormInput())
451 $this->form = $mob_gui->getForm();
452 $this->
insert(
"edpost",
"create_mob",
true);
456 include_once(
"./Services/COPage/classes/class.ilPCMediaObject.php");
457 if ($a_change_obj_ref !=
true)
461 $this->content_obj->createMediaObject();
462 $media_obj = $this->content_obj->getMediaObject();
464 include_once(
"./Services/MediaObjects/classes/class.ilObjMediaObjectGUI.php");
472 $this->content_obj->createAlias($this->pg_obj, $this->hier_id, $this->pc_id);
473 $this->updated = $this->pg_obj->update();
474 if ($this->updated ===
true)
476 $this->pg_obj->stripHierIDs();
477 $this->pg_obj->addHierIDs();
478 $ilCtrl->setParameter($this,
"hier_id", $this->content_obj->readHierId());
479 $ilCtrl->setParameter($this,
"pc_id", $this->content_obj->readPCId());
480 $this->content_obj->setHierId($this->content_obj->readHierId());
481 $this->
setHierId($this->content_obj->readHierId());
482 $this->content_obj->setPCId($this->content_obj->readPCId());
484 $this->ctrl->redirectByClass(
"ilobjmediaobjectgui",
"edit");
495 if ($a_change_obj_ref ==
true)
497 $this->content_obj->updateObjectReference();
498 $this->updated = $this->pg_obj->update();
499 $this->ctrl->redirect($this,
"editAlias");
515 $tpl->setContent($this->form_gui->getHTML());
525 include_once(
"Services/Form/classes/class.ilPropertyFormGUI.php");
531 $this->content_obj->getPcId());
532 $std_item = $this->content_obj->getMediaObject()->getMediaItem(
"Standard");
536 $this->form_gui->addItem(
$title);
538 $this->lng->txt(
"cont_".strtolower($std_item->getLocationType())),
"st_location");
539 $this->form_gui->addItem($loc);
541 $this->lng->txt(
"cont_format"),
"st_format");
542 $this->form_gui->addItem($format);
547 " (".$std_item->getWidth().
" x ".$std_item->
getHeight().
")",
"y");
549 $radio_size->addOption($op1);
552 include_once(
"./Services/MediaObjects/classes/class.ilWidthHeightInputGUI.php");
554 " / ".$lng->txt(
"cont_height"),
"st_width_height");
558 $radio_size->addOption($op2);
559 $this->form_gui->addItem($radio_size);
567 $rad_caption->addOption($op1);
570 $caption->setCols(30);
571 $caption->setRows(2);
578 $rad_caption->addOption($op2);
579 $this->form_gui->addItem($rad_caption);
582 if (substr($std_item->getFormat(), 0, 5) ==
"image")
592 $rad_tr->addOption($op1);
594 $rad_tr->addOption($op2);
595 $this->form_gui->addItem($rad_tr);
596 $rad_tr->setInfo($lng->txt(
"text_repr_info"));
603 $std_item->getFormat()))
606 $def_str = ($par[
"autostart"] ==
"true")
607 ?
" (".$lng->txt(
"yes").
")"
608 :
" (".$lng->txt(
"no").
")";
610 "st_derive_parameters");
611 $op1 =
new ilRadioOption($lng->txt(
"cont_default").$def_str,
"y");
612 $rad_auto->addOption($op1);
616 $rad_auto->addOption($op2);
617 $this->form_gui->addItem($rad_auto);
621 $rad_parameters =
new ilRadioGroupInputGUI($lng->txt(
"cont_parameter"),
"st_derive_parameters");
625 $rad_parameters->addOption($op1);
631 $rad_parameters->addOption($op2);
632 $this->form_gui->addItem($rad_parameters);
637 if($this->content_obj->getMediaObject()->hasFullScreenItem())
640 $this->content_obj->getPcId());
641 $full_item = $this->content_obj->getMediaObject()->getMediaItem(
"Fullscreen");
644 $fs_sec->setTitle($lng->txt(
"cont_fullscreen"));
645 $this->form_gui->addItem($fs_sec);
651 $radio_prop->addOption($op1);
652 $op2 =
new ilRadioOption($this->lng->txt(
"cont_".strtolower($full_item->getLocationType())).
": ".
653 $full_item->getLocation(),
"y");
654 $radio_prop->addOption($op2);
655 $this->form_gui->addItem($radio_prop);
659 $this->lng->txt(
"cont_format"),
"full_format");
660 $this->form_gui->addItem($format);
665 " (".$full_item->getWidth().
" x ".$full_item->
getHeight().
")",
"y");
667 $radio_size->addOption($op1);
670 include_once(
"./Services/MediaObjects/classes/class.ilWidthHeightInputGUI.php");
672 " / ".$lng->txt(
"cont_height"),
"full_width_height");
676 $radio_size->addOption($op2);
677 $this->form_gui->addItem($radio_size);
685 $rad_caption->addOption($op1);
688 $caption->setCols(30);
689 $caption->setRows(2);
696 $rad_caption->addOption($op2);
697 $this->form_gui->addItem($rad_caption);
700 if (substr($full_item->getFormat(), 0, 5) ==
"image")
710 $rad_tr->addOption($op1);
712 $rad_tr->addOption($op2);
713 $this->form_gui->addItem($rad_tr);
714 $rad_tr->setInfo($lng->txt(
"text_repr_info"));
721 $full_item->getFormat()))
724 $def_str = ($par[
"autostart"] ==
"true")
725 ?
" (".$lng->txt(
"yes").
")"
726 :
" (".$lng->txt(
"no").
")";
728 "full_derive_parameters");
729 $op1 =
new ilRadioOption($lng->txt(
"cont_default").$def_str,
"y");
730 $rad_auto->addOption($op1);
734 $rad_auto->addOption($op2);
735 $this->form_gui->addItem($rad_auto);
739 $rad_parameters =
new ilRadioGroupInputGUI($lng->txt(
"cont_parameter"),
"full_derive_parameters");
743 $rad_parameters->addOption($op1);
749 $rad_parameters->addOption($op2);
750 $this->form_gui->addItem($rad_parameters);
755 $this->form_gui->setTitle($lng->txt(
"cont_edit_mob_alias_prop"));
756 $this->form_gui->addCommandButton(
"saveAliasProperties", $lng->txt(
"save"));
758 if ($lm_set->get(
"replace_mob_feature"))
760 $this->form_gui->addCommandButton(
"changeObjectReference", $lng->txt(
"cont_change_object_reference"));
762 $this->form_gui->setFormAction($ilCtrl->getFormAction($this));
774 $this->content_obj->getPcId());
775 $std_item = $this->content_obj->getMediaObject()->getMediaItem(
"Standard");
777 $values[
"title"] = $this->content_obj->getMediaObject()->getTitle();
778 $values[
"st_location"] = $std_item->getLocation();
779 $values[
"st_format"] = $std_item->getFormat();
782 $values[
"st_width_height"][
"width"] = $std_alias_item->
getWidth();
783 $values[
"st_width_height"][
"height"] = $std_alias_item->getHeight();
784 $values[
"st_width_height"][
"constr_prop"] =
true;
787 $values[
"st_caption"] = $std_alias_item->getCaption();
790 $values[
"def_caption"] =
"<i>".$lng->txt(
"cont_no_caption").
"</i>";
794 $values[
"def_caption"] = $std_item->
getCaption();
798 $values[
"st_text_representation"] = $std_alias_item->getTextRepresentation();
801 $values[
"def_text_representation"] =
"<i>".$lng->txt(
"cont_no_text").
"</i>";
810 $std_item->getFormat()))
812 $par = $std_alias_item->getParameters();
813 if ($par[
"autostart"] ==
"true")
815 $values[
"st_autostart"] =
true;
820 $values[
"st_parameters"] = $std_alias_item->getParameterString();
824 $values[
"st_derive_size"] = $std_alias_item->definesSize()
827 if ($values[
"st_derive_size"] ==
"y")
829 $values[
"st_width_height"][
"width"] = $std_item->
getWidth();
830 $values[
"st_width_height"][
"height"] = $std_item->
getHeight();
832 $values[
"st_derive_caption"] = $std_alias_item->definesCaption()
835 $values[
"st_derive_text_representation"] = $std_alias_item->definesTextRepresentation()
838 $values[
"st_derive_parameters"] = $std_alias_item->definesParameters()
843 $values[
"def_parameters"] =
"<i>".$lng->txt(
"cont_no_parameters").
"</i>";
851 if($this->content_obj->getMediaObject()->hasFullScreenItem())
854 $this->content_obj->getPcId());
855 $full_item = $this->content_obj->getMediaObject()->getMediaItem(
"Fullscreen");
857 $values[
"fullscreen"] =
"n";
858 if ($full_alias_item->exists())
860 $values[
"fullscreen"] =
"y";
863 $values[
"full_location"] = $full_item->getLocation();
864 $values[
"full_format"] = $full_item->getFormat();
865 $values[
"full_width_height"][
"width"] = $full_alias_item->
getWidth();
866 $values[
"full_width_height"][
"height"] = $full_alias_item->getHeight();
867 $values[
"full_width_height"][
"constr_prop"] =
true;
868 $values[
"full_caption"] = $full_alias_item->getCaption();
871 $values[
"full_def_caption"] =
"<i>".$lng->txt(
"cont_no_caption").
"</i>";
875 $values[
"full_def_caption"] = $full_item->
getCaption();
877 $values[
"full_text_representation"] = $full_alias_item->getTextRepresentation();
880 $values[
"full_def_text_representation"] =
"<i>".$lng->txt(
"cont_no_text").
"</i>";
886 $values[
"full_parameters"] = $full_alias_item->getParameterString();
887 $values[
"full_derive_size"] = $full_alias_item->definesSize()
890 if ($values[
"full_derive_size"] ==
"y")
892 $values[
"full_width_height"][
"width"] = $full_item->
getWidth();
893 $values[
"full_width_height"][
"height"] = $full_item->
getHeight();
895 $values[
"full_derive_caption"] = $full_alias_item->definesCaption()
898 $values[
"full_derive_text_representation"] = $full_alias_item->definesTextRepresentation()
904 $full_item->getFormat()))
906 $par = $full_alias_item->getParameters();
907 if ($par[
"autostart"] ==
"true")
909 $values[
"full_autostart"] =
true;
914 $values[
"full_parameters"] = $full_alias_item->getParameterString();
917 $values[
"full_derive_parameters"] = $full_alias_item->definesParameters()
922 $values[
"full_def_parameters"] =
"<i>".$lng->txt(
"cont_no_parameters").
"</i>";
931 $this->form_gui->setValuesByArray($values);
940 $this->content_obj->getPcId());
942 $this->content_obj->getPcId());
943 $std_item = $this->content_obj->getMediaObject()->getMediaItem(
"Standard");
944 $full_item = $this->content_obj->getMediaObject()->getMediaItem(
"Fullscreen");
947 if(
$_POST[
"st_derive_size"] ==
"y")
958 if(
$_POST[
"st_derive_caption"] ==
"y")
960 $std_alias_item->deriveCaption();
968 if(
$_POST[
"st_derive_text_representation"] ==
"y")
970 $std_alias_item->deriveTextRepresentation();
978 if(
$_POST[
"st_derive_parameters"] ==
"y")
980 $std_alias_item->deriveParameters();
985 $std_item->getFormat()))
987 if (
$_POST[
"st_autostart"])
1002 if($this->content_obj->getMediaObject()->hasFullscreenItem())
1004 if (
$_POST[
"fullscreen"] ==
"y")
1006 if (!$full_alias_item->
exists())
1008 $full_alias_item->
insert();
1012 if(
$_POST[
"full_derive_size"] ==
"y")
1023 if(
$_POST[
"full_derive_caption"] ==
"y")
1033 if(
$_POST[
"full_derive_text_representation"] ==
"y")
1043 if(
$_POST[
"full_derive_parameters"] ==
"y")
1050 $full_item->getFormat()))
1052 if (
$_POST[
"full_autostart"])
1069 if ($full_alias_item->
exists())
1071 $full_alias_item->
delete();
1076 $this->updated = $this->pg_obj->update();
1077 if ($this->updated ===
true)
1079 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
1083 $this->pg_obj->addHierIDs();
1093 $this->ilias->account->addObjectToClipboard($this->content_obj->getMediaObject()->getId(), $this->content_obj->getMediaObject()->getType()
1094 , $this->content_obj->getMediaObject()->getTitle());
1096 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
1105 $this->content_obj->getPcId());
1107 $_SESSION[
"il_pg_error"] = $this->pg_obj->update();
1108 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
1117 $this->content_obj->getPcId());
1119 $_SESSION[
"il_pg_error"] = $this->pg_obj->update();
1120 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
1129 $this->content_obj->getPcId());
1131 $_SESSION[
"il_pg_error"] = $this->pg_obj->update();
1132 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
1141 $this->content_obj->getPcId());
1143 $_SESSION[
"il_pg_error"] = $this->pg_obj->update();
1144 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
1153 $this->content_obj->getPcId());
1155 $_SESSION[
"il_pg_error"] = $this->pg_obj->update();
1156 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
1167 if (count($chars) > 1 ||
1168 ($this->content_obj->getClass() !=
"" && $this->content_obj->getClass() !=
"Media"))
1185 include_once(
"./Services/Form/classes/class.ilPropertyFormGUI.php");
1187 $form->setFormAction($ilCtrl->getFormAction($this));
1188 $form->setTitle($this->lng->txt(
"cont_edit_style"));
1191 require_once(
"./Services/Form/classes/class.ilAdvSelectInputGUI.php");
1196 if (is_object($this->content_obj))
1198 if ($chars[$a_seleted_value] ==
"" && ($this->content_obj->getClass() !=
""))
1200 $chars = array_merge(
1201 array($this->content_obj->getClass() => $this->content_obj->getClass()),
1206 $selected = $this->content_obj->getClass();
1207 if ($selected ==
"")
1209 $selected =
"MediaContainer";
1212 foreach ($chars as $k => $char)
1214 $html =
'<table class="ilc_media_cont_'.$k.
'"><tr><td>'.
1215 $char.
'</td></tr></table>';
1216 $char_prop->addOption($k, $char, $html);
1219 $char_prop->setValue($selected);
1220 $form->addItem($char_prop);
1223 $form->addCommandButton(
"saveStyle", $lng->txt(
"save"));
1225 $html = $form->getHTML();
1226 $tpl->setContent($html);
1235 $this->content_obj->setClass(
$_POST[
"characteristic"]);
1236 $this->updated = $this->pg_obj->update();
1237 if ($this->updated ===
true)
1239 $this->ctrl->returnToParent($this,
"jump".$this->hier_id);
1243 $this->pg_obj->addHierIDs();
1254 function getTabs(&$tab_gui, $a_create =
false, $a_change_obj_ref =
false)
1262 $ilTabs->addTarget(
"cont_style",
1263 $ilCtrl->getLinkTarget($this,
"editStyle"),
"editStyle",
1267 $ilTabs->addTarget(
"cont_mob_inst_prop",
1268 $ilCtrl->getLinkTarget($this,
"editAlias"),
"editAlias",
1273 $st_item = $this->content_obj->getMediaObject()->getMediaItem(
"Standard");
1274 if (is_object($st_item))
1276 $format = $st_item->getFormat();
1277 if (substr($format, 0, 5) ==
"image")
1279 $ilTabs->addTarget(
"cont_inst_map_areas",
1280 $ilCtrl->getLinkTargetByClass(
"ilpcimagemapeditorgui",
"editMapAreas"), array(),
1281 "ilpcimagemapeditorgui");
1288 if ($a_change_obj_ref)
1290 $cmd =
"changeObjectReference";
1297 $ilCtrl->setParameter($this,
"subCmd",
"insertNew");
1298 $ilTabs->addSubTabTarget(
"cont_new_mob",
1299 $ilCtrl->getLinkTarget($this,
$cmd),
$cmd);
1301 $ilCtrl->setParameter($this,
"subCmd",
"insertFromPool");
1302 $ilTabs->addSubTabTarget(
"cont_mob_from_media_pool",
1303 $ilCtrl->getLinkTarget($this,
$cmd),
$cmd);
1304 $ilCtrl->setParameter($this,
"subCmd",
"");