| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Collaboration diagram for ilMediaCreationGUI:Public Member Functions | |
| __construct (array $accept_types, Closure $after_upload, Closure $after_url_saving, Closure $after_pool_insert, Closure $finish_single_upload=null, Closure $on_mob_update=null) | |
| setAllSuffixes (array $a_val) | |
| getAllSuffixes () | |
| setAllMimeTypes (array $a_val) | |
| getAllMimeTypes () | |
| executeCommand () | |
| getUploadForm () | |
| initUrlForm () | |
| initPoolSelection () | |
| performBulkUpload () | |
| Save bulk upload form.  More... | |
| initMediaBulkForm (string $a_id, string $a_title) | |
| listPoolItems () | |
| Insert media object from pool.  More... | |
| selectPool () | |
| Select concrete pool.  More... | |
| poolSelection () | |
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 () | |
| getMimeTypes ($local_only=false) | |
| creationSelection () | |
| handleUploadResult (FileUpload $upload, UploadResult $result) | |
| editTitlesAndDescriptions () | |
| saveTitlesAndDescriptions () | |
| cancel () | |
| cancelCreate () | |
| saveUrl () | |
| applyFilter () | |
| resetFilter () | |
| getPoolTable () | |
| insertFromPool () | |
| Insert media from pool.  More... | |
Protected Attributes | |
| ILIAS MediaObjects MediaType MediaTypeManager | $type_manager | 
| InternalGUIService | $gui | 
| FormAdapterGUI | $bulk_upload_form = null | 
| CreationGUIRequest | $request | 
| array | $accept_types = [1,2,3,4] | 
| ilLanguage | $lng | 
| ilCtrl | $ctrl | 
| ilGlobalTemplateInterface | $main_tpl | 
| Closure | $after_upload | 
| Closure | $after_url_saving | 
| Closure | $after_pool_insert | 
| Closure | $finish_single_upload | 
| Closure | $on_mob_update | 
| ilAccessHandler | $access | 
| array | $all_suffixes = [] | 
| array | $all_mime_types = [] | 
| ILIAS DI UIServices | $ui | 
| int | $requested_mep | 
| string | $pool_view = self::POOL_VIEW_FOLDER | 
| ILIAS FileUpload FileUpload | $upload | 
| ilLogger | $mob_log | 
Definition at line 33 of file class.ilMediaCreationGUI.php.
| ilMediaCreationGUI::__construct | ( | array | $accept_types, | 
| Closure | $after_upload, | ||
| Closure | $after_url_saving, | ||
| Closure | $after_pool_insert, | ||
| Closure | $finish_single_upload = null,  | 
        ||
| Closure | $on_mob_update = null  | 
        ||
| ) | 
Definition at line 71 of file class.ilMediaCreationGUI.php.
References $accept_types, $after_pool_insert, $after_upload, $after_url_saving, $DIC, $finish_single_upload, $on_mob_update, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\ui(), and ILIAS\Repository\upload().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 697 of file class.ilMediaCreationGUI.php.
References ILIAS\Repository\ctrl(), and getPoolTable().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 560 of file class.ilMediaCreationGUI.php.
References $ctrl, and ilCtrl\returnToParent().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 566 of file class.ilMediaCreationGUI.php.
References $ctrl, and ilCtrl\returnToParent().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 216 of file class.ilMediaCreationGUI.php.
References $main_tpl, ilAccordionGUI\FIRST_OPEN, getUploadForm(), initPoolSelection(), initUrlForm(), ILIAS\Repository\lng(), and ilGlobalTemplateInterface\setContent().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 471 of file class.ilMediaCreationGUI.php.
References $ctrl, $finish_single_upload, $lng, $main_tpl, ilAccordionGUI\ALL_CLOSED, ilCtrl\getFormAction(), ilMediaItem\getMediaItemsForUploadHash(), initMediaBulkForm(), ilCtrl\saveParameter(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
 Here is the call graph for this function:| ilMediaCreationGUI::executeCommand | ( | ) | 
Definition at line 188 of file class.ilMediaCreationGUI.php.
References $ctrl, ILIAS\Repository\ctrl(), ilCtrl\forwardCommand(), ilCtrl\getCmd(), ilCtrl\getNextClass(), getUploadForm(), and initPoolSelection().
 Here is the call graph for this function:| ilMediaCreationGUI::getAllMimeTypes | ( | ) | 
Definition at line 141 of file class.ilMediaCreationGUI.php.
References $all_mime_types.
| ilMediaCreationGUI::getAllSuffixes | ( | ) | 
      
  | 
  protected | 
Definition at line 170 of file class.ilMediaCreationGUI.php.
Referenced by getUploadForm(), insertFromPool(), and saveUrl().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 713 of file class.ilMediaCreationGUI.php.
References ilMediaPoolTableGUI\IL_MEP_SELECT.
Referenced by applyFilter(), listPoolItems(), and resetFilter().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 149 of file class.ilMediaCreationGUI.php.
Referenced by initUrlForm().
 Here is the caller graph for this function:| ilMediaCreationGUI::getUploadForm | ( | ) | 
Definition at line 258 of file class.ilMediaCreationGUI.php.
References $bulk_upload_form, ILIAS\Repository\ctrl(), getMimeTypes(), and ILIAS\Repository\lng().
Referenced by creationSelection(), executeCommand(), and performBulkUpload().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 397 of file class.ilMediaCreationGUI.php.
References $after_upload, $location, ilObjMediaObject\_getRelativeDirectory(), ilObjMediaObject\fixFilename(), ilObjMediaObject\getMediaItem(), ilObjMediaObject\getMimeType(), ILIAS\FileUpload\DTO\UploadResult\getName(), and ILIAS\FileUpload\FileUpload\moveOneFileTo().
 Here is the call graph for this function:| ilMediaCreationGUI::initMediaBulkForm | ( | string | $a_id, | 
| string | $a_title | ||
| ) | 
Definition at line 516 of file class.ilMediaCreationGUI.php.
References $lng, and ilLanguage\txt().
Referenced by editTitlesAndDescriptions(), and saveTitlesAndDescriptions().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilMediaCreationGUI::initPoolSelection | ( | ) | 
Definition at line 307 of file class.ilMediaCreationGUI.php.
References $ctrl, $lng, ilRepositorySelector2InputGUI\getExplorerGUI(), ilCtrl\getFormAction(), ilFormPropertyGUI\setRequired(), and ilLanguage\txt().
Referenced by creationSelection(), executeCommand(), and listPoolItems().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilMediaCreationGUI::initUrlForm | ( | ) | 
Definition at line 281 of file class.ilMediaCreationGUI.php.
References $ctrl, $lng, ilCtrl\getFormAction(), getSuffixes(), and ilLanguage\txt().
Referenced by creationSelection(), and saveUrl().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Insert media from pool.
Definition at line 762 of file class.ilMediaCreationGUI.php.
References $after_pool_insert, $id, getMimeTypes(), listPoolItems(), ILIAS\Repository\lng(), and ilMediaPoolItem\lookupForeignId().
 Here is the call graph for this function:| ilMediaCreationGUI::listPoolItems | ( | ) | 
Insert media object from pool.
Definition at line 646 of file class.ilMediaCreationGUI.php.
References $access, $ctrl, Vendor\Package\$f, $lng, $main_tpl, $ui, ilObject\_lookupObjId(), ilObject\_lookupType(), ilRBACAccessHandler\checkAccess(), ilCtrl\getLinkTarget(), getPoolTable(), initPoolSelection(), ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), ilGlobalTemplateInterface\setContent(), ilCtrl\setParameter(), and ilLanguage\txt().
Referenced by insertFromPool().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilMediaCreationGUI::performBulkUpload | ( | ) | 
Save bulk upload form.
Definition at line 458 of file class.ilMediaCreationGUI.php.
References ILIAS\Repository\ctrl(), and getUploadForm().
 Here is the call graph for this function:| ilMediaCreationGUI::poolSelection | ( | ) | 
Definition at line 741 of file class.ilMediaCreationGUI.php.
References $main_tpl, and ilGlobalTemplateInterface\setContent().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 705 of file class.ilMediaCreationGUI.php.
References ILIAS\Repository\ctrl(), and getPoolTable().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 536 of file class.ilMediaCreationGUI.php.
References $ctrl, $lng, $on_mob_update, ilMediaItem\getMediaItemsForUploadHash(), initMediaBulkForm(), ilCtrl\returnToParent(), and ilLanguage\txt().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 572 of file class.ilMediaCreationGUI.php.
References $after_url_saving, Vendor\Package\$e, $url, ilObjMediaObject\_getDirectory(), ilObjMediaObject\getMediaItem(), ilObjMediaObject\getMimeType(), getMimeTypes(), initUrlForm(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilMediaCreationGUI::selectPool | ( | ) | 
Select concrete pool.
Definition at line 733 of file class.ilMediaCreationGUI.php.
References $ctrl, ilCtrl\redirect(), and ilCtrl\setParameter().
 Here is the call graph for this function:| ilMediaCreationGUI::setAllMimeTypes | ( | array | $a_val | ) | 
Definition at line 132 of file class.ilMediaCreationGUI.php.
| ilMediaCreationGUI::setAllSuffixes | ( | array | $a_val | ) | 
Definition at line 121 of file class.ilMediaCreationGUI.php.
      
  | 
  protected | 
Definition at line 47 of file class.ilMediaCreationGUI.php.
Referenced by __construct().
      
  | 
  protected | 
Definition at line 56 of file class.ilMediaCreationGUI.php.
Referenced by listPoolItems().
      
  | 
  protected | 
Definition at line 53 of file class.ilMediaCreationGUI.php.
Referenced by __construct(), and insertFromPool().
      
  | 
  protected | 
Definition at line 51 of file class.ilMediaCreationGUI.php.
Referenced by __construct(), and handleUploadResult().
      
  | 
  protected | 
Definition at line 52 of file class.ilMediaCreationGUI.php.
Referenced by __construct(), and saveUrl().
      
  | 
  protected | 
Definition at line 64 of file class.ilMediaCreationGUI.php.
Referenced by getAllMimeTypes().
      
  | 
  protected | 
Definition at line 60 of file class.ilMediaCreationGUI.php.
Referenced by getAllSuffixes().
      
  | 
  protected | 
Definition at line 44 of file class.ilMediaCreationGUI.php.
Referenced by getUploadForm().
      
  | 
  protected | 
Definition at line 49 of file class.ilMediaCreationGUI.php.
Referenced by cancel(), cancelCreate(), editTitlesAndDescriptions(), executeCommand(), initPoolSelection(), initUrlForm(), listPoolItems(), saveTitlesAndDescriptions(), and selectPool().
      
  | 
  protected | 
Definition at line 54 of file class.ilMediaCreationGUI.php.
Referenced by __construct(), and editTitlesAndDescriptions().
      
  | 
  protected | 
Definition at line 43 of file class.ilMediaCreationGUI.php.
      
  | 
  protected | 
Definition at line 48 of file class.ilMediaCreationGUI.php.
Referenced by editTitlesAndDescriptions(), initMediaBulkForm(), initPoolSelection(), initUrlForm(), listPoolItems(), and saveTitlesAndDescriptions().
      
  | 
  protected | 
Definition at line 50 of file class.ilMediaCreationGUI.php.
Referenced by creationSelection(), editTitlesAndDescriptions(), listPoolItems(), and poolSelection().
      
  | 
  protected | 
Definition at line 69 of file class.ilMediaCreationGUI.php.
      
  | 
  protected | 
Definition at line 55 of file class.ilMediaCreationGUI.php.
Referenced by __construct(), and saveTitlesAndDescriptions().
      
  | 
  protected | 
Definition at line 67 of file class.ilMediaCreationGUI.php.
      
  | 
  protected | 
Definition at line 45 of file class.ilMediaCreationGUI.php.
      
  | 
  protected | 
Definition at line 66 of file class.ilMediaCreationGUI.php.
      
  | 
  protected | 
Definition at line 42 of file class.ilMediaCreationGUI.php.
      
  | 
  protected | 
Definition at line 65 of file class.ilMediaCreationGUI.php.
Referenced by listPoolItems().
      
  | 
  protected | 
Definition at line 68 of file class.ilMediaCreationGUI.php.
| const ilMediaCreationGUI::POOL_VIEW_ALL = "all" | 
Definition at line 41 of file class.ilMediaCreationGUI.php.
| const ilMediaCreationGUI::POOL_VIEW_FOLDER = "fold" | 
Definition at line 40 of file class.ilMediaCreationGUI.php.
| const ilMediaCreationGUI::TYPE_ALL = 5 | 
Definition at line 39 of file class.ilMediaCreationGUI.php.
Referenced by ilObjMediaPoolGUI\executeCommand().
| const ilMediaCreationGUI::TYPE_AUDIO = 2 | 
Definition at line 36 of file class.ilMediaCreationGUI.php.
Referenced by ilObjMediaCastGUI\executeCommand().
| const ilMediaCreationGUI::TYPE_IMAGE = 3 | 
Definition at line 37 of file class.ilMediaCreationGUI.php.
Referenced by ilObjMediaCastGUI\executeCommand().
| const ilMediaCreationGUI::TYPE_OTHER = 4 | 
Definition at line 38 of file class.ilMediaCreationGUI.php.
| const ilMediaCreationGUI::TYPE_VIDEO = 1 | 
Definition at line 35 of file class.ilMediaCreationGUI.php.
Referenced by ilObjMediaCastGUI\executeCommand().