ILIAS  release_7 Revision v7.30-3-g800a261c036
ilMediaCreationGUI Class Reference
+ Collaboration diagram for ilMediaCreationGUI:

Public Member Functions

 __construct (array $accept_types, closure $after_upload, closure $after_url_saving, closure $after_pool_insert)
 Constructor. More...
 
 setAllSuffixes ($a_val)
 Set All suffixes. More...
 
 getAllSuffixes ()
 Get All suffixes. More...
 
 setAllMimeTypes ($a_val)
 Set All mime types. More...
 
 getAllMimeTypes ()
 Get All mime types. More...
 
 executeCommand ()
 Execute command. More...
 
 initUploadForm ()
 Init upload form. More...
 
 initUrlForm ()
 Init url form. More...
 
 initPoolSelection ()
 Init pool selectio form. More...
 
 listPoolItems ()
 Insert media object from pool. More...
 
 selectPool ()
 Select concrete pool. More...
 
 poolSelection ()
 Pool Selection. More...
 

Data Fields

const TYPE_VIDEO = 1
 
const TYPE_AUDIO = 2
 
const TYPE_IMAGE = 3
 
const TYPE_OTHER = 4
 
const TYPE_ALL = 5
 
const POOL_VIEW_FOLDER = "fold"
 
const POOL_VIEW_ALL = "all"
 

Protected Member Functions

 getSuffixes ()
 Get suffixes. More...
 
 getMimeTypes ()
 Get mimes. More...
 
 creationSelection ()
 Creation selection. More...
 
 uploadFile ()
 Upload file. More...
 
 cancel ()
 Cancel. More...
 
 saveUrl ()
 Save url. More...
 
 applyFilter ()
 Apply filter. More...
 
 resetFilter ()
 Reset filter. More...
 
 getPoolTable ()
 Get pool table. More...
 
 insertFromPool ()
 Insert media from pool. More...
 

Protected Attributes

 $accept_types = [1,2,3,4]
 
 $lng
 
 $ctrl
 
 $main_tpl
 
 $after_upload
 
 $after_url_saving
 
 $after_pool_insert
 
 $access
 
 $all_suffixes = []
 
 $all_mime_types = []
 
 $ui
 
 $requested_mep
 
 $pool_view = self::POOL_VIEW_FOLDER
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de @ilCtrl_Calls ilMediaCreationGUI: ilPropertyFormGUI

Definition at line 9 of file class.ilMediaCreationGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilMediaCreationGUI::__construct ( array  $accept_types,
closure  $after_upload,
closure  $after_url_saving,
closure  $after_pool_insert 
)

Constructor.

Definition at line 78 of file class.ilMediaCreationGUI.php.

83 {
84 global $DIC;
85
86 $this->lng = $DIC->language();
87 $this->lng->loadLanguageModule("mob");
88 $this->lng->loadLanguageModule("content");
89 $this->access = $DIC->access();
90
91 $this->ctrl = $DIC->ctrl();
92 $this->main_tpl = $DIC->ui()->mainTemplate();
93 $this->ui = $DIC->ui();
94
95 $this->accept_types = $accept_types;
96 $this->after_upload = $after_upload;
97 $this->after_url_saving = $after_url_saving;
98 $this->after_pool_insert = $after_pool_insert;
99
100 $this->ctrl->saveParameter($this, ["mep", "pool_view"]);
101
102 $this->requested_mep = ((int) $_POST["mep"] > 0)
103 ? (int) $_POST["mep"]
104 : (int) $_GET["mep"];
105
106 $this->pool_view = (in_array($_GET["pool_view"], [self::POOL_VIEW_FOLDER, self::POOL_VIEW_ALL]))
107 ? $_GET["pool_view"]
108 : self::POOL_VIEW_FOLDER;
109 }
$_GET["client_id"]
$_POST["username"]
global $DIC
Definition: goto.php:24
ui()
Definition: ui.php:5

References $_GET, $_POST, $accept_types, $after_pool_insert, $after_upload, $after_url_saving, $DIC, and ui().

+ Here is the call graph for this function:

Member Function Documentation

◆ applyFilter()

ilMediaCreationGUI::applyFilter ( )
protected

Apply filter.

Definition at line 501 of file class.ilMediaCreationGUI.php.

502 {
503 $mpool_table = $this->getPoolTable();
504 $mpool_table->resetOffset();
505 $mpool_table->writeFilterToSession();
506 $this->ctrl->redirect($this, "listPoolItems");
507 }

References getPoolTable().

+ Here is the call graph for this function:

◆ cancel()

ilMediaCreationGUI::cancel ( )
protected

Cancel.

Definition at line 388 of file class.ilMediaCreationGUI.php.

389 {
391 $ctrl->returnToParent($this);
392 }

References $ctrl.

◆ creationSelection()

ilMediaCreationGUI::creationSelection ( )
protected

Creation selection.

Definition at line 209 of file class.ilMediaCreationGUI.php.

210 {
212
213 $acc = new \ilAccordionGUI();
214 $acc->setBehaviour(\ilAccordionGUI::FIRST_OPEN);
215 $cnt = 1;
216 $forms = [
217 $this->initUploadForm(),
218 $this->initUrlForm(),
219 $this->initPoolSelection()
220 ];
221 foreach ($forms as $form_type => $cf) {
222 $htpl = new \ilTemplate("tpl.creation_acc_head.html", true, true, "Services/Object");
223
224 // using custom form titles (used for repository plugins)
225 $form_title = "";
226 if (method_exists($this, "getCreationFormTitle")) {
227 $form_title = $this->getCreationFormTitle($form_type);
228 }
229 if (!$form_title) {
230 $form_title = $cf->getTitle();
231 }
232
233 // move title from form to accordion
234 $htpl->setVariable("TITLE", $this->lng->txt("option") . " " . $cnt . ": " .
235 $form_title);
236 $cf->setTitle(null);
237 $cf->setTitleIcon(null);
238 $cf->setTableWidth("100%");
239
240 $acc->addItem($htpl->get(), $cf->getHTML());
241
242 $cnt++;
243 }
244 $main_tpl->setContent($acc->getHTML());
245 }
initUploadForm()
Init upload form.
initPoolSelection()
Init pool selectio form.

References $main_tpl, ilAccordionGUI\FIRST_OPEN, initPoolSelection(), initUploadForm(), and initUrlForm().

+ Here is the call graph for this function:

◆ executeCommand()

ilMediaCreationGUI::executeCommand ( )

Execute command.

Definition at line 184 of file class.ilMediaCreationGUI.php.

185 {
187
188 $next_class = $ctrl->getNextClass($this);
189 $cmd = $ctrl->getCmd("creationSelection");
190
191 switch ($next_class) {
192
193 case "ilpropertyformgui":
194 $form = $this->initPoolSelection();
195 $ctrl->forwardCommand($form);
196 break;
197
198 default:
199 if (in_array($cmd, ["creationSelection", "uploadFile", "saveUrl", "cancel", "listPoolItems",
200 "insertFromPool", "poolSelection", "selectPool", "applyFilter", "resetFilter"])) {
201 $this->$cmd();
202 }
203 }
204 }

References $ctrl, and initPoolSelection().

+ Here is the call graph for this function:

◆ getAllMimeTypes()

ilMediaCreationGUI::getAllMimeTypes ( )

Get All mime types.

Returns
array

Definition at line 142 of file class.ilMediaCreationGUI.php.

References $all_mime_types.

Referenced by getMimeTypes().

+ Here is the caller graph for this function:

◆ getAllSuffixes()

ilMediaCreationGUI::getAllSuffixes ( )

Get All suffixes.

Returns
array

Definition at line 124 of file class.ilMediaCreationGUI.php.

References $all_suffixes.

Referenced by getSuffixes().

+ Here is the caller graph for this function:

◆ getMimeTypes()

ilMediaCreationGUI::getMimeTypes ( )
protected

Get mimes.

Returns
array

Definition at line 168 of file class.ilMediaCreationGUI.php.

169 {
170 $mimes = [];
171 if (in_array(self::TYPE_ALL, $this->accept_types)) {
172 $mimes = $this->getAllMimeTypes();
173 }
174 if (in_array(self::TYPE_VIDEO, $this->accept_types)) {
175 $mimes[] = "video/vimeo";
176 $mimes[] = "video/mp4";
177 }
178 return $mimes;
179 }
getAllMimeTypes()
Get All mime types.

References getAllMimeTypes().

+ Here is the call graph for this function:

◆ getPoolTable()

ilMediaCreationGUI::getPoolTable ( )
protected

Get pool table.

Parameters

return

Definition at line 525 of file class.ilMediaCreationGUI.php.

526 {
527 $pool = new ilObjMediaPool($this->requested_mep);
528 $mpool_table = new ilMediaPoolTableGUI(
529 $this,
530 "listPoolItems",
531 $pool,
532 "mep_folder",
534 $this->pool_view == self::POOL_VIEW_ALL
535 );
536 $mpool_table->setFilterCommand("applyFilter");
537 $mpool_table->setResetCommand("resetFilter");
538 $mpool_table->setInsertCommand("insertFromPool");
539 return $mpool_table;
540 }
TableGUI class for recent changes in wiki.
Media pool object.

References ilMediaPoolTableGUI\IL_MEP_SELECT.

Referenced by applyFilter(), listPoolItems(), and resetFilter().

+ Here is the caller graph for this function:

◆ getSuffixes()

ilMediaCreationGUI::getSuffixes ( )
protected

Get suffixes.

Returns
array

Definition at line 152 of file class.ilMediaCreationGUI.php.

153 {
154 $suffixes = [];
155 if (in_array(self::TYPE_ALL, $this->accept_types)) {
156 $suffixes = $this->getAllSuffixes();
157 }
158 if (in_array(self::TYPE_VIDEO, $this->accept_types)) {
159 $suffixes[] = "mp4";
160 }
161 return $suffixes;
162 }
getAllSuffixes()
Get All suffixes.

References getAllSuffixes().

Referenced by initUploadForm().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initPoolSelection()

ilMediaCreationGUI::initPoolSelection ( )

Init pool selectio form.

Definition at line 301 of file class.ilMediaCreationGUI.php.

302 {
305
306 include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
307 $form = new \ilPropertyFormGUI();
308
309 // mediacast
310 $mcst = new ilRepositorySelector2InputGUI($lng->txt("obj_mep"), "mep", false);
311 $exp = $mcst->getExplorerGUI();
312 $exp->setSelectableTypes(["mep"]);
313 $exp->setTypeWhiteList(["root", "mep", "cat", "crs", "grp", "fold"]);
314 $mcst->setRequired(true);
315 $form->addItem($mcst);
316
317 $form->addCommandButton("listPoolItems", $lng->txt("continue"));
318 $form->addCommandButton("cancel", $lng->txt("cancel"));
319
320 $form->setTitle($lng->txt("mob_choose_from_pool"));
321 $form->setFormAction($ctrl->getFormAction($this));
322
323 return $form;
324 }

References $ctrl, and $lng.

Referenced by creationSelection(), and executeCommand().

+ Here is the caller graph for this function:

◆ initUploadForm()

ilMediaCreationGUI::initUploadForm ( )

Init upload form.

Definition at line 250 of file class.ilMediaCreationGUI.php.

251 {
254
255 include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
256 $form = new \ilPropertyFormGUI();
257
258 $fi = new \ilFileInputGUI($lng->txt("file"), "file");
259 $fi->setSuffixes($this->getSuffixes());
260 $fi->setRequired(true);
261 $form->addItem($fi);
262
263 $form->addCommandButton("uploadFile", $lng->txt("upload"));
264 $form->addCommandButton("cancel", $lng->txt("cancel"));
265
266 $form->setTitle($lng->txt("mob_upload_file"));
267 $form->setFormAction($ctrl->getFormAction($this));
268
269 return $form;
270 }

References $ctrl, $lng, and getSuffixes().

Referenced by creationSelection(), and uploadFile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initUrlForm()

ilMediaCreationGUI::initUrlForm ( )

Init url form.

Definition at line 275 of file class.ilMediaCreationGUI.php.

276 {
279
280 include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
281 $form = new \ilPropertyFormGUI();
282
283 //
284 $ti = new \ilTextInputGUI($lng->txt("mob_url"), "url");
285 $ti->setInfo($lng->txt("mob_url_info"));
286 $ti->setRequired(true);
287 $form->addItem($ti);
288
289 $form->addCommandButton("saveUrl", $lng->txt("save"));
290 $form->addCommandButton("cancel", $lng->txt("cancel"));
291
292 $form->setTitle($lng->txt("mob_external_url"));
293 $form->setFormAction($ctrl->getFormAction($this));
294
295 return $form;
296 }

References $ctrl, and $lng.

Referenced by creationSelection(), and saveUrl().

+ Here is the caller graph for this function:

◆ insertFromPool()

ilMediaCreationGUI::insertFromPool ( )
protected

Insert media from pool.

Definition at line 577 of file class.ilMediaCreationGUI.php.

578 {
579 if (!is_array($_POST["id"])) {
580 ilUtil::sendFailure($this->lng->txt("select_one"));
581 $this->listPoolItems();
582 return;
583 }
584 $mob_ids = [];
585 foreach ($_POST["id"] as $pool_entry_id) {
586 $id = ilMediaPoolItem::lookupForeignId($pool_entry_id);
587 $mob = new ilObjMediaObject((int) $id);
588 if (!in_array($mob->getMediaItem("Standard")->getFormat(), $this->getMimeTypes())) {
589 ilUtil::sendFailure($this->lng->txt("mob_mime_type_not_allowed") . ": " .
590 $mob->getMediaItem("Standard")->getFormat());
591 $this->listPoolItems();
592 return;
593 }
594 $mob_ids[] = $id;
595 }
596 ($this->after_pool_insert)($mob_ids);
597 }
listPoolItems()
Insert media object from pool.
static lookupForeignId($a_id)
Lookup Foreign Id.
Class ilObjMediaObject.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.

References $_POST, $after_pool_insert, listPoolItems(), ilMediaPoolItem\lookupForeignId(), and ilUtil\sendFailure().

+ Here is the call graph for this function:

◆ listPoolItems()

ilMediaCreationGUI::listPoolItems ( )

Insert media object from pool.

Definition at line 455 of file class.ilMediaCreationGUI.php.

456 {
460 $ui = $this->ui;
462
463 if ($this->requested_mep > 0 &&
464 $access->checkAccess("write", "", $this->requested_mep)
465 && ilObject::_lookupType(ilObject::_lookupObjId($this->requested_mep)) == "mep") {
466 $tb = new ilToolbarGUI();
467
468 // button: select pool
469 $tb->addButton(
470 $lng->txt("cont_switch_to_media_pool"),
471 $ctrl->getLinkTarget($this, "poolSelection")
472 );
473
474 // view mode: pool view (folders/all media objects)
475 $f = $ui->factory();
476 $lng->loadLanguageModule("mep");
477 $ctrl->setParameter($this, "pool_view", self::POOL_VIEW_FOLDER);
478 $actions[$lng->txt("folders")] = $ctrl->getLinkTarget($this, "listPoolItems");
479 $ctrl->setParameter($this, "pool_view", self::POOL_VIEW_ALL);
480 $actions[$lng->txt("mep_all_mobs")] = $ctrl->getLinkTarget($this, "listPoolItems");
481 $ctrl->setParameter($this, "pool_view", $this->pool_view);
482 $aria_label = $lng->txt("cont_change_pool_view");
483 $view_control = $f->viewControl()->mode($actions, $aria_label)->withActive(($this->pool_view == self::POOL_VIEW_FOLDER)
484 ? $lng->txt("folders") : $lng->txt("mep_all_mobs"));
485 $tb->addSeparator();
486 $tb->addComponent($view_control);
487
488 $html = $tb->getHTML();
489
490 $pool_table = $this->getPoolTable();
491
492 $html .= $pool_table->getHTML();
493
494 $main_tpl->setContent($html);
495 }
496 }
static _lookupObjId($a_id)
static _lookupType($a_id, $a_reference=false)
lookup object type

References $access, $ctrl, Vendor\Package\$f, $lng, $main_tpl, $ui, ilObject\_lookupObjId(), ilObject\_lookupType(), and getPoolTable().

Referenced by insertFromPool().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ poolSelection()

ilMediaCreationGUI::poolSelection ( )

Pool Selection.

Definition at line 556 of file class.ilMediaCreationGUI.php.

557 {
559 $exp = new ilPoolSelectorGUI(
560 $this,
561 "poolSelection",
562 null,
563 "selectPool",
564 "",
565 "mep_ref_id"
566 );
567 $exp->setTypeWhiteList(array("root", "cat", "grp", "fold", "crs", "mep"));
568 $exp->setClickableTypes(array('mep'));
569 if (!$exp->handleCommand()) {
570 $main_tpl->setContent($exp->getHTML());
571 }
572 }
Select media pool for adding objects into pages.

References $main_tpl.

◆ resetFilter()

ilMediaCreationGUI::resetFilter ( )
protected

Reset filter.

Definition at line 512 of file class.ilMediaCreationGUI.php.

513 {
514 $mpool_table = $this->getPoolTable();
515 $mpool_table->resetOffset();
516 $mpool_table->resetFilter();
517 $this->ctrl->redirect($this, "listPoolItems");
518 }

References getPoolTable().

+ Here is the call graph for this function:

◆ saveUrl()

ilMediaCreationGUI::saveUrl ( )
protected

Save url.

Definition at line 397 of file class.ilMediaCreationGUI.php.

398 {
399 $form = $this->initUrlForm();
400
401 if (!$form->checkInput()) {
402 $form->setValuesByPost();
403 $this->main_tpl->setContent($form->getHTML());
404 } else {
405 $mob = new ilObjMediaObject();
406 $mob->create();
407
408 //handle standard purpose
409 $mediaItem = new ilMediaItem();
410 $mob->addMediaItem($mediaItem);
411 $mediaItem->setPurpose("Standard");
412
413 // determine and create mob directory, move uploaded file to directory
414 $mob_dir = ilObjMediaObject::_getDirectory($mob->getId());
415 if (!is_dir($mob_dir)) {
416 $mob->createDirectory();
417 }
418 $locationType = "Reference";
419 $url = $form->getInput("url");
420 $title = $url;
421
422 // get mime type, if not already set!
424
425 // set real meta and object data
426 $mediaItem->setFormat($format);
427 $mediaItem->setLocation($url);
428 $mediaItem->setLocationType("Reference");
429 $mediaItem->setHAlign("Left");
430 $mob->setTitle($title);
431 $mob->setDescription($format);
432 /*try {
433 $mob->getExternalMetadata();
434 } catch (Exception $e) {
435 ilUtil::sendFailure($e->getMessage());
436 $form->setValuesByPost();
437 $this->main_tpl->setContent($form->getHTML());
438 return;
439 }*/
440
441 $long_desc = $mob->getLongDescription();
442 $mob->update();
443
444 //
445 // @todo: save usage
446 //
447
448 ($this->after_url_saving)($mob->getId(), $long_desc);
449 }
450 }
Class ilMediaItem Media Item, component of a media object (file or reference)
static getMimeType($a_file, $a_external=null)
get mime type for file
static _getDirectory($a_mob_id)
Get absolute directory.
$format
Definition: metadata.php:218
$url

References $after_url_saving, $format, $url, ilObjMediaObject\_getDirectory(), ilObjMediaObject\getMimeType(), and initUrlForm().

+ Here is the call graph for this function:

◆ selectPool()

ilMediaCreationGUI::selectPool ( )

Select concrete pool.

Definition at line 545 of file class.ilMediaCreationGUI.php.

546 {
548
549 $ctrl->setParameter($this, "mep", $_GET["mep_ref_id"]);
550 $ctrl->redirect($this, "listPoolItems");
551 }

References $_GET, and $ctrl.

◆ setAllMimeTypes()

ilMediaCreationGUI::setAllMimeTypes (   $a_val)

Set All mime types.

Parameters
array$a_val

Definition at line 133 of file class.ilMediaCreationGUI.php.

134 {
135 $this->all_mime_types = $a_val;
136 }

◆ setAllSuffixes()

ilMediaCreationGUI::setAllSuffixes (   $a_val)

Set All suffixes.

Parameters
array$a_val

Definition at line 115 of file class.ilMediaCreationGUI.php.

116 {
117 $this->all_suffixes = $a_val;
118 }

Referenced by ilObjMediaCastGUI\executeCommand().

+ Here is the caller graph for this function:

◆ uploadFile()

ilMediaCreationGUI::uploadFile ( )
protected

Upload file.

Definition at line 329 of file class.ilMediaCreationGUI.php.

330 {
331 $form = $this->initUploadForm();
332
333 if (!$form->checkInput()) {
334 $form->setValuesByPost();
335 $this->main_tpl->setContent($form->getHTML());
336 //$this->creationSelection();
337 } else {
338 $mob = new ilObjMediaObject();
339 $mob->create();
340
341 //handle standard purpose
342 $mediaItem = new ilMediaItem();
343 $mob->addMediaItem($mediaItem);
344 $mediaItem->setPurpose("Standard");
345
346 // determine and create mob directory, move uploaded file to directory
347 $mob_dir = ilObjMediaObject::_getDirectory($mob->getId());
348 if (!is_dir($mob_dir)) {
349 $mob->createDirectory();
350 }
351 $file_name = ilUtil::getASCIIFilename($_FILES['file']["name"]);
352 $file_name = str_replace(" ", "_", $file_name);
353
354 $file = $mob_dir . "/" . $file_name;
355 $title = $file_name;
356 $locationType = "LocalFile";
357 $location = $title;
358 ilUtil::moveUploadedFile($_FILES['file']['tmp_name'], $file_name, $file);
360
361 // get mime type, if not already set!
363
364 // set real meta and object data
365 $mediaItem->setFormat($format);
366 $mediaItem->setLocation($location);
367 $mediaItem->setLocationType($locationType);
368 $mediaItem->setHAlign("Left");
369 $mob->setTitle($title);
370 $mob->setDescription($format);
371
372 $mob->update();
373
374 $mob = new ilObjMediaObject($mob->getId());
375 $mob->generatePreviewPic(320, 240);
376
377 //
378 // @todo: save usage
379 //
380
381 ($this->after_upload)($mob->getId());
382 }
383 }
$location
Definition: buildRTE.php:44
static moveUploadedFile($a_file, $a_name, $a_target, $a_raise_errors=true, $a_mode="move_uploaded")
move uploaded file
static getASCIIFilename($a_filename)
convert utf8 to ascii filename
static renameExecutables($a_dir)
Rename uploaded executables for security reasons.

References $after_upload, $format, $location, ilObjMediaObject\_getDirectory(), ilUtil\getASCIIFilename(), ilObjMediaObject\getMimeType(), initUploadForm(), ilUtil\moveUploadedFile(), and ilUtil\renameExecutables().

+ Here is the call graph for this function:

Field Documentation

◆ $accept_types

ilMediaCreationGUI::$accept_types = [1,2,3,4]
protected

Definition at line 20 of file class.ilMediaCreationGUI.php.

Referenced by __construct().

◆ $access

ilMediaCreationGUI::$access
protected

Definition at line 55 of file class.ilMediaCreationGUI.php.

Referenced by listPoolItems().

◆ $after_pool_insert

ilMediaCreationGUI::$after_pool_insert
protected

Definition at line 50 of file class.ilMediaCreationGUI.php.

Referenced by __construct(), and insertFromPool().

◆ $after_upload

ilMediaCreationGUI::$after_upload
protected

Definition at line 40 of file class.ilMediaCreationGUI.php.

Referenced by __construct(), and uploadFile().

◆ $after_url_saving

ilMediaCreationGUI::$after_url_saving
protected

Definition at line 45 of file class.ilMediaCreationGUI.php.

Referenced by __construct(), and saveUrl().

◆ $all_mime_types

ilMediaCreationGUI::$all_mime_types = []
protected

Definition at line 58 of file class.ilMediaCreationGUI.php.

Referenced by getAllMimeTypes().

◆ $all_suffixes

ilMediaCreationGUI::$all_suffixes = []
protected

Definition at line 57 of file class.ilMediaCreationGUI.php.

Referenced by getAllSuffixes().

◆ $ctrl

ilMediaCreationGUI::$ctrl
protected

◆ $lng

ilMediaCreationGUI::$lng
protected

◆ $main_tpl

ilMediaCreationGUI::$main_tpl
protected

Definition at line 35 of file class.ilMediaCreationGUI.php.

Referenced by creationSelection(), listPoolItems(), and poolSelection().

◆ $pool_view

ilMediaCreationGUI::$pool_view = self::POOL_VIEW_FOLDER
protected

Definition at line 73 of file class.ilMediaCreationGUI.php.

◆ $requested_mep

ilMediaCreationGUI::$requested_mep
protected

Definition at line 68 of file class.ilMediaCreationGUI.php.

◆ $ui

ilMediaCreationGUI::$ui
protected

Definition at line 63 of file class.ilMediaCreationGUI.php.

Referenced by listPoolItems().

◆ POOL_VIEW_ALL

const ilMediaCreationGUI::POOL_VIEW_ALL = "all"

Definition at line 18 of file class.ilMediaCreationGUI.php.

◆ POOL_VIEW_FOLDER

const ilMediaCreationGUI::POOL_VIEW_FOLDER = "fold"

Definition at line 17 of file class.ilMediaCreationGUI.php.

◆ TYPE_ALL

const ilMediaCreationGUI::TYPE_ALL = 5

Definition at line 15 of file class.ilMediaCreationGUI.php.

Referenced by ilObjMediaCastGUI\executeCommand().

◆ TYPE_AUDIO

const ilMediaCreationGUI::TYPE_AUDIO = 2

Definition at line 12 of file class.ilMediaCreationGUI.php.

◆ TYPE_IMAGE

const ilMediaCreationGUI::TYPE_IMAGE = 3

Definition at line 13 of file class.ilMediaCreationGUI.php.

◆ TYPE_OTHER

const ilMediaCreationGUI::TYPE_OTHER = 4

Definition at line 14 of file class.ilMediaCreationGUI.php.

◆ TYPE_VIDEO

const ilMediaCreationGUI::TYPE_VIDEO = 1

Definition at line 11 of file class.ilMediaCreationGUI.php.


The documentation for this class was generated from the following file: