ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
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().
|
protected |
Definition at line 706 of file class.ilMediaCreationGUI.php.
References ILIAS\Repository\ctrl(), and getPoolTable().
|
protected |
Definition at line 564 of file class.ilMediaCreationGUI.php.
References $ctrl, and ilCtrl\returnToParent().
|
protected |
Definition at line 570 of file class.ilMediaCreationGUI.php.
References $ctrl, and ilCtrl\returnToParent().
|
protected |
Definition at line 216 of file class.ilMediaCreationGUI.php.
References $main_tpl, ilAccordionGUI\FIRST_OPEN, getUploadForm(), initPoolSelection(), initUrlForm(), ILIAS\Repository\lng(), and ILIAS\UICore\GlobalTemplate\setContent().
|
protected |
Definition at line 475 of file class.ilMediaCreationGUI.php.
References $ctrl, $finish_single_upload, $lng, $main_tpl, ilAccordionGUI\ALL_CLOSED, ilCtrl\getFormAction(), ilMediaItem\getMediaItemsForUploadHash(), initMediaBulkForm(), ilCtrl\saveParameter(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
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().
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().
|
protected |
Definition at line 722 of file class.ilMediaCreationGUI.php.
References ilMediaPoolTableGUI\IL_MEP_SELECT.
Referenced by applyFilter(), listPoolItems(), and resetFilter().
|
protected |
Definition at line 149 of file class.ilMediaCreationGUI.php.
Referenced by initUrlForm().
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().
|
protected |
Definition at line 397 of file class.ilMediaCreationGUI.php.
References $after_upload, and ILIAS\FileUpload\DTO\UploadResult\getName().
ilMediaCreationGUI::initMediaBulkForm | ( | string | $a_id, |
string | $a_title | ||
) |
Definition at line 520 of file class.ilMediaCreationGUI.php.
References $lng, and ilLanguage\txt().
Referenced by editTitlesAndDescriptions(), and saveTitlesAndDescriptions().
ilMediaCreationGUI::initPoolSelection | ( | ) |
Definition at line 307 of file class.ilMediaCreationGUI.php.
References $ctrl, $lng, ilCtrl\getFormAction(), ilFormPropertyGUI\setRequired(), and ilLanguage\txt().
Referenced by creationSelection(), executeCommand(), and listPoolItems().
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().
|
protected |
Insert media from pool.
Definition at line 771 of file class.ilMediaCreationGUI.php.
References $after_pool_insert, $id, getMimeTypes(), listPoolItems(), ILIAS\Repository\lng(), and ilMediaPoolItem\lookupForeignId().
ilMediaCreationGUI::listPoolItems | ( | ) |
Insert media object from pool.
Definition at line 655 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(), ILIAS\UICore\GlobalTemplate\setContent(), ilCtrl\setParameter(), and ilLanguage\txt().
Referenced by insertFromPool().
ilMediaCreationGUI::performBulkUpload | ( | ) |
Save bulk upload form.
Definition at line 462 of file class.ilMediaCreationGUI.php.
References ILIAS\Repository\ctrl(), and getUploadForm().
ilMediaCreationGUI::poolSelection | ( | ) |
Definition at line 750 of file class.ilMediaCreationGUI.php.
References $main_tpl, null, and ILIAS\UICore\GlobalTemplate\setContent().
|
protected |
Definition at line 714 of file class.ilMediaCreationGUI.php.
References ILIAS\Repository\ctrl(), and getPoolTable().
|
protected |
Definition at line 540 of file class.ilMediaCreationGUI.php.
References $ctrl, $lng, $on_mob_update, ilMediaItem\getMediaItemsForUploadHash(), initMediaBulkForm(), ilCtrl\returnToParent(), and ilLanguage\txt().
|
protected |
Definition at line 576 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().
ilMediaCreationGUI::selectPool | ( | ) |
Select concrete pool.
Definition at line 742 of file class.ilMediaCreationGUI.php.
References $ctrl, ilCtrl\redirect(), and ilCtrl\setParameter().
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().