ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
User Interface class for media pool objects. More...
Public Member Functions | |
__construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0) | |
Constructor. More... | |
getType () | |
Get type. More... | |
executeCommand () | |
execute command More... | |
createMediaObject () | |
obsolete? More... | |
afterSave (ilObject $newObj) | |
save object More... | |
edit () | |
edit object More... | |
listMedia () | |
list media objects More... | |
allMedia () | |
list all objects More... | |
applyFilter () | |
Apply filter. More... | |
resetFilter () | |
Reset filter. More... | |
getTemplate () | |
Get standard template. More... | |
getParentFolderId () | |
Get folder parent ID. More... | |
showPage () | |
Show page. More... | |
showPreview () | |
Show content snippet. More... | |
showFullscreen () | |
show fullscreen More... | |
confirmRemove () | |
confirm remove of mobs More... | |
openClipboard () | |
paste from clipboard More... | |
insertFromClipboard () | |
insert media object from clipboard More... | |
cancelRemove () | |
cancel deletion of media objects/folders More... | |
remove () | |
confirm deletion of More... | |
copyToClipboard () | |
copy media objects to clipboard More... | |
addLocatorItems () | |
add locator items for media pool More... | |
createFolderForm () | |
create folder form More... | |
editFolder () | |
Edit folder. More... | |
getFolderValues () | |
Get current values for folder from. More... | |
saveFolder () | |
Save folder form. More... | |
updateFolder () | |
Update folder. More... | |
initFolderForm ($a_mode="edit") | |
Init folder form. More... | |
cancelFolderUpdate () | |
Cancel save. More... | |
cancelSave () | |
Cancel save. More... | |
createMediaPoolPage () | |
Create new content snippet. More... | |
editMediaPoolPage () | |
Edit media pool page. More... | |
saveMediaPoolPage () | |
Save media pool page. More... | |
updateMediaPoolPage () | |
Update media pool page. More... | |
initMediaPoolPageForm ($a_mode="edit") | |
Init page form. More... | |
getMediaPoolPageValues () | |
Get current values for media pool page from. More... | |
setMediaPoolPageTabs () | |
Set media pool page tabs. More... | |
showAllMediaPoolPageUsages () | |
List usages of the contnet snippet. More... | |
showMediaPoolPageUsages ($a_all=false) | |
List usages of the contnet snippet. More... | |
setContentSubTabs ($a_active) | |
Set sub tabs for content tab. More... | |
setTabs () | |
Set tabs. More... | |
setSettingsSubTabs ($a_active) | |
Set setting sub tabs. More... | |
infoScreenObject () | |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed More... | |
infoScreen () | |
show information screen More... | |
selectUploadDirFiles ($a_files=null) | |
Select files from upload directory. More... | |
createMediaFromUploadDir () | |
Create media object from upload directory. More... | |
export () | |
export content object More... | |
initBulkUploadForm () | |
Init bulk upload form. More... | |
performBulkUpload () | |
Save bulk upload form. More... | |
initMediaBulkForm ($a_id, $a_title) | |
Init media bulk form. More... | |
![]() | |
__construct ($a_id=0, $a_id_type=self::REPOSITORY_NODE_ID, $a_parent_node_id=0) | |
Constructor. More... | |
executeCommand () | |
execute command More... | |
delete () | |
Display delete confirmation form (repository/workspace switch) More... | |
confirmedDelete () | |
Delete objects (repository/workspace switch) More... | |
getHTML () | |
withReferences () | |
Final/Private declaration of unchanged parent methods. More... | |
setCreationMode ($a_mode=true) | |
getCreationMode () | |
prepareOutput ($a_show_subobjects=true) | |
isVisible ($a_ref_id, $a_type) | |
trash () | |
undelete () | |
cancelDelete () | |
removeFromSystem () | |
cloneAll () | |
view () | |
view object content (repository/workspace switch) More... | |
getType () | |
Functions that must be overwritten. More... | |
create () | |
Deleted in ilObject. More... | |
save () | |
edit () | |
update () | |
cancel () | |
importFile () | |
Import. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
![]() | |
executeCommand () | |
execute command More... | |
withReferences () | |
determines wether objects are referenced or not (got ref ids or not) More... | |
setCreationMode ($a_mode=true) | |
if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More... | |
getCreationMode () | |
get creation mode More... | |
prepareOutput ($a_show_subobjects=true) | |
prepare output More... | |
getAdminTabs () | |
administration tabs show only permissions and trash folder More... | |
getHTML () | |
confirmedDeleteObject () | |
confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
cancelDeleteObject () | |
cancel deletion of object More... | |
cancelObject () | |
cancel action and go back to previous page public More... | |
createObject () | |
create new object form More... | |
cancelCreation () | |
cancel create action and go back to repository parent More... | |
saveObject () | |
save object More... | |
getDidacticTemplateVar ($a_type) | |
Get didactic template setting from creation screen. More... | |
putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
Add object to tree at given position. More... | |
editObject () | |
edit object More... | |
addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
updateObject () | |
updates object entry in object_data More... | |
getFormAction ($a_cmd, $a_formaction="") | |
get form action for command (command is method name without "Object", e.g. More... | |
isVisible ($a_ref_id, $a_type) | |
viewObject () | |
list childs of current object More... | |
deleteObject ($a_error=false) | |
Display deletion confirmation screen. More... | |
cloneAllObject () | |
Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
redirectAfterCreation () | |
Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More... | |
Static Public Member Functions | |
static | _goto ($a_target) |
goto target media pool More... | |
static | getPreviewModalHTML ($a_mpool_ref_id, $a_tpl) |
Get preview modal html. More... | |
![]() | |
static | handleAfterSaveCallback (ilObject $a_obj, $a_callback_ref_id) |
After creation callback. More... | |
![]() | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Data Fields | |
$output_prepared | |
![]() | |
$tree | |
const | OBJECT_ID = 0 |
const | REPOSITORY_NODE_ID = 1 |
const | WORKSPACE_NODE_ID = 2 |
const | REPOSITORY_OBJECT_ID = 3 |
const | WORKSPACE_OBJECT_ID = 4 |
const | PORTFOLIO_OBJECT_ID = 5 |
![]() | |
const | COPY_WIZARD_NEEDS_PAGE = 1 |
$objDefinition | |
$tpl | |
$tree | |
$lng | |
$data | |
$object | |
$ref_id | |
$obj_id | |
$maxcount | |
$formaction | |
$return_location | |
$target_frame | |
$tab_target_script | |
$actions | |
$sub_objects | |
$omit_locator = false | |
const | CFORM_NEW = 1 |
const | CFORM_IMPORT = 2 |
const | CFORM_CLONE = 3 |
Protected Member Functions | |
afterConstructor () | |
Initialisation. More... | |
initCreationForms ($a_new_type) | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
getEditFormCustomValues (array &$a_values) | |
updateCustom (ilPropertyFormGUI $a_form) | |
showMedia () | |
show media object More... | |
bulkUpload () | |
Bulk upload. More... | |
editTitlesAndDescriptions () | |
Edit titles and descriptions. More... | |
saveTitlesAndDescriptions () | |
Save titles and descriptions. More... | |
![]() | |
afterConstructor () | |
Do anything that should be done after constructor in here. More... | |
assignObject () | |
create object instance as internal property (repository/workspace switch) More... | |
getAccessHandler () | |
Get access handler. More... | |
setLocator () | |
set Locator More... | |
deleteConfirmation () | |
Display delete confirmation form (workspace specific) More... | |
deleteConfirmedObjects () | |
Delete objects (workspace specific) More... | |
setTitleAndDescription () | |
showUpperIcon () | |
omitLocator ($a_omit=true) | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
setTargetFrame ($a_cmd, $a_target_frame) | |
getCenterColumnHTML () | |
getRightColumnHTML () | |
setColumnSettings (ilColumnGUI $column_gui) | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
showPossibleSubObjects () | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
searchCloneSource () | |
buildCloneSelect ($existing_objs) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
setTabs () | |
create tabs (repository/workspace switch) More... | |
getReturnLocation ($a_cmd, $a_location="") | |
Deprecated functions. More... | |
setReturnLocation ($a_cmd, $a_location) | |
showActions () | |
getTabs () | |
__showButton ($a_cmd, $a_text, $a_target='') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
addLocatorItems () | |
Functions to be overwritten. More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_node_id=null) | |
Check permission. More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
redrawHeaderAction () | |
Updating icons after ajax call. More... | |
getPermanentLinkWidget ($a_append=null, $a_center=false) | |
handleAutoRating (ilObject $a_new_obj) | |
![]() | |
getObjectService () | |
Get object service. More... | |
assignObject () | |
setTitleAndDescription () | |
called by prepare output More... | |
initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
Add header action menu. More... | |
insertHeaderAction ($a_list_gui) | |
Insert header action into main template. More... | |
addHeaderAction () | |
Add header action menu. More... | |
redrawHeaderActionObject () | |
Ajax call: redraw action header only. More... | |
showMountWebfolderIcon () | |
setTabs () | |
set admin tabs public More... | |
setAdminTabs () | |
set admin tabs public More... | |
setLocator () | |
set Locator More... | |
addLocatorItems () | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
omitLocator ($a_omit=true) | |
addAdminLocatorItems ($a_do_not_add_object=false) | |
should be overwritten to add object specific items (repository items are preloaded) More... | |
initCreationForms ($a_new_type) | |
Init creation froms. More... | |
getCreationFormsHTML (array $a_forms) | |
Get HTML for creation forms (accordion) More... | |
initCreateForm ($a_new_type) | |
Init object creation form. More... | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
Show didactic template types. More... | |
addDidacticTemplateOptions (array &$a_options) | |
Add custom templates. More... | |
afterSave (ilObject $a_new_object) | |
Post (successful) object creation hook. More... | |
initEditForm () | |
Init object edit form. More... | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
Add custom fields to update form. More... | |
getEditFormValues () | |
Get values for edit form. More... | |
getEditFormCustomValues (array &$a_values) | |
Add values to custom edit fields. More... | |
validateCustom (ilPropertyFormGUI $a_form) | |
Validate custom values (if not possible with checkInput()) More... | |
updateCustom (ilPropertyFormGUI $a_form) | |
Insert custom update form values into object. More... | |
afterUpdate () | |
Post (successful) object update hook. More... | |
initImportForm ($a_new_type) | |
Init object import form. More... | |
importFileObject ($parent_id=null, $a_catch_errors=true) | |
Import. More... | |
afterImport (ilObject $a_new_object) | |
Post (successful) object import hook. More... | |
setFormAction ($a_cmd, $a_formaction) | |
set specific form action for command More... | |
getReturnLocation ($a_cmd, $a_location="") | |
get return location for command (command is method name without "Object", e.g. More... | |
setReturnLocation ($a_cmd, $a_location) | |
set specific return location for command More... | |
getTargetFrame ($a_cmd, $a_target_frame="") | |
get target frame for command (command is method name without "Object", e.g. More... | |
setTargetFrame ($a_cmd, $a_target_frame) | |
set specific target frame for command More... | |
showPossibleSubObjects () | |
show possible subobjects (pulldown menu) More... | |
getTemplateFile ($a_cmd, $a_type="") | |
get a template blockfile format: tpl. More... | |
getTabs () | |
get tabs abstract method. More... | |
__showButton ($a_cmd, $a_text, $a_target='') | |
hitsperpageObject () | |
& | __initTableGUI () |
__setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
standard implementation for tables use 'from' variable use different initial setting of table More... | |
redirectToRefId ($a_ref_id, $a_cmd="") | |
redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value More... | |
fillCloneTemplate ($a_tpl_varname, $a_type) | |
Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More... | |
getCenterColumnHTML () | |
Get center column. More... | |
getRightColumnHTML () | |
Display right column. More... | |
setColumnSettings (ilColumnGUI $column_gui) | |
May be overwritten in subclasses. More... | |
checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission and redirect on error. More... | |
checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
Check permission. More... | |
enableDragDropFileUpload () | |
Enables the file upload into this object by dropping files. More... | |
handleAutoRating (ilObject $a_new_obj) | |
Activate rating automatically if parent container setting. More... | |
Protected Attributes | |
$tabs | |
$error | |
$help | |
$main_tpl | |
$upload | |
$mep_log | |
![]() | |
$object_id | |
$node_id | |
$creation_forms = array() | |
$id_type = array() | |
$parent_id | |
$access_handler | |
![]() | |
$ilErr | |
$locator | |
$user | |
$access | |
$settings | |
$rbacreview | |
$toolbar | |
$tmp_import_dir | |
$tabs_gui = null | |
$ctrl | |
$object_service | |
User Interface class for media pool objects.
ilObjMediaPoolGUI: ilObjMediaObjectGUI, ilObjFolderGUI, ilEditClipboardGUI, ilPermissionGUI ilObjMediaPoolGUI: ilInfoScreenGUI, ilMediaPoolPageGUI, ilExportGUI, ilFileSystemGUI ilObjMediaPoolGUI: ilCommonActionDispatcherGUI, ilObjectCopyGUI, ilObjectTranslationGUI, ilMediaPoolImportGUI ilObjMediaPoolGUI: ilMobMultiSrtUploadGUI, ilObjectMetaDataGUI
Definition at line 26 of file class.ilObjMediaPoolGUI.php.
ilObjMediaPoolGUI::__construct | ( | $a_id = 0 , |
|
$a_id_type = self::REPOSITORY_NODE_ID , |
|||
$a_parent_node_id = 0 |
|||
) |
Constructor.
Definition at line 61 of file class.ilObjMediaPoolGUI.php.
References $DIC, and ilLoggerFactory\getLogger().
|
static |
goto target media pool
Definition at line 1697 of file class.ilObjMediaPoolGUI.php.
References $_GET, $DIC, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\$ref_id, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, and ilUtil\sendFailure().
ilObjMediaPoolGUI::addLocatorItems | ( | ) |
add locator items for media pool
Definition at line 1104 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$locator, ilObjectGUI\$obj_id, $path, $title, ilObject2GUI\$tree, and ilObject2GUI\getCreationMode().
|
protected |
Initialisation.
Definition at line 84 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$lng.
ilObjMediaPoolGUI::afterSave | ( | ilObject | $newObj | ) |
save object
Definition at line 449 of file class.ilObjMediaPoolGUI.php.
References ilObject\getRefId(), and ilUtil\redirect().
ilObjMediaPoolGUI::allMedia | ( | ) |
list all objects
Definition at line 634 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, $ilUser, $tabs, ilObjectGUI\$tpl, ilObjectGUI\$user, ilObject2GUI\checkPermission(), ilMediaPoolTableGUI\IL_MEP_EDIT, ilMediaPoolItem\lookupTitle(), and setContentSubTabs().
Referenced by applyFilter(), and resetFilter().
ilObjMediaPoolGUI::applyFilter | ( | ) |
Apply filter.
Definition at line 691 of file class.ilObjMediaPoolGUI.php.
References allMedia(), and ilMediaPoolTableGUI\IL_MEP_EDIT.
|
protected |
Bulk upload.
Definition at line 1990 of file class.ilObjMediaPoolGUI.php.
References $form, $main_tpl, ilObject2GUI\checkPermission(), and initBulkUploadForm().
ilObjMediaPoolGUI::cancelFolderUpdate | ( | ) |
Cancel save.
Definition at line 1266 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$ctrl, and $ilCtrl.
ilObjMediaPoolGUI::cancelRemove | ( | ) |
cancel deletion of media objects/folders
Definition at line 1042 of file class.ilObjMediaPoolGUI.php.
References $_GET.
ilObjMediaPoolGUI::cancelSave | ( | ) |
Cancel save.
Definition at line 1280 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$ctrl, and $ilCtrl.
ilObjMediaPoolGUI::confirmRemove | ( | ) |
confirm remove of mobs
Definition at line 892 of file class.ilObjMediaPoolGUI.php.
References $_POST, ilObjectGUI\$ctrl, $error, $ilCtrl, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\$obj_id, $title, $type, ilObject2GUI\checkPermission(), ilUtil\getImageTagByType(), ilPageContentUsage\getUsages(), ilMediaPoolItem\lookupTitle(), ilMediaPoolItem\lookupType(), and ilUtil\sendFailure().
ilObjMediaPoolGUI::copyToClipboard | ( | ) |
copy media objects to clipboard
Definition at line 1068 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$access, $ilUser, ilObjectGUI\$obj_id, $type, ilObjectGUI\$user, ilObject2GUI\checkPermission(), ilMediaPoolItem\lookupForeignId(), ilMediaPoolItem\lookupType(), and ilUtil\sendFailure().
ilObjMediaPoolGUI::createFolderForm | ( | ) |
create folder form
Definition at line 1138 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and initFolderForm().
ilObjMediaPoolGUI::createMediaFromUploadDir | ( | ) |
Create media object from upload directory.
Definition at line 1838 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, $f, $format, $location, ilObject2GUI\$tree, ilMainMenuGUI\_checkAdministrationPermission(), ilObjMediaObject\_determineWidthHeight(), ilObjMediaObject\_getDirectory(), ilObject2GUI\checkPermission(), ilObjMediaObject\getMimeType(), ilUtil\redirect(), ilUtil\renameExecutables(), ilUtil\sendFailure(), and ilUtil\virusHandling().
ilObjMediaPoolGUI::createMediaObject | ( | ) |
obsolete?
Definition at line 433 of file class.ilObjMediaPoolGUI.php.
ilObjMediaPoolGUI::createMediaPoolPage | ( | ) |
Create new content snippet.
Definition at line 1293 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and initMediaPoolPageForm().
ilObjMediaPoolGUI::edit | ( | ) |
edit object
public
Definition at line 508 of file class.ilObjMediaPoolGUI.php.
References $form, ilObjectGUI\$ilErr, ilObjectGUI\$tabs_gui, ilObjectGUI\$tpl, $values, ilObjectGUI\addExternalEditFormCustom(), ilObject2GUI\checkPermissionBool(), ilObjectGUI\getEditFormValues(), ilObjectGUI\initEditForm(), and setSettingsSubTabs().
ilObjMediaPoolGUI::editFolder | ( | ) |
Edit folder.
Definition at line 1155 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), getFolderValues(), and initFolderForm().
ilObjMediaPoolGUI::editMediaPoolPage | ( | ) |
Edit media pool page.
Definition at line 1309 of file class.ilObjMediaPoolGUI.php.
References $_GET, $tabs, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), getMediaPoolPageValues(), initMediaPoolPageForm(), and setMediaPoolPageTabs().
|
protected |
Edit titles and descriptions.
Definition at line 2123 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$ctrl, $form, $html, ilObjectGUI\$lng, $main_tpl, ilAccordionGUI\ALL_CLOSED, ilObject2GUI\checkPermission(), ilMediaItem\getMediaItemsForUploadHash(), and initMediaBulkForm().
ilObjMediaPoolGUI::executeCommand | ( | ) |
execute command
ilCtrlException |
Definition at line 114 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$access, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $ret, $tabs, ilObjectGUI\$tpl, ilObject2GUI\$tree, ilObjectGUI\addHeaderAction(), ilObject2GUI\checkPermission(), ilObject2GUI\getCreationMode(), ilObjectTranslation\getInstance(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getParentFolderId(), getTemplate(), infoScreen(), ilMediaPoolItem\lookupForeignId(), ilObject2GUI\prepareOutput(), ilUtil\redirect(), setContentSubTabs(), ilObject2GUI\setCreationMode(), ilObject2GUI\setLocator(), setMediaPoolPageTabs(), ilFileSystemGUI\setPostDirPath(), and setSettingsSubTabs().
ilObjMediaPoolGUI::export | ( | ) |
export content object
Definition at line 1971 of file class.ilObjMediaPoolGUI.php.
References $_POST, $format, ilObjectTranslation\getInstance(), and ilUtil\stripSlashes().
|
protected |
Definition at line 534 of file class.ilObjMediaPoolGUI.php.
ilObjMediaPoolGUI::getFolderValues | ( | ) |
Get current values for folder from.
Definition at line 1169 of file class.ilObjMediaPoolGUI.php.
References $_GET, $values, and ilMediaPoolItem\lookupTitle().
Referenced by editFolder().
ilObjMediaPoolGUI::getMediaPoolPageValues | ( | ) |
Get current values for media pool page from.
Definition at line 1432 of file class.ilObjMediaPoolGUI.php.
References $_GET, $values, and ilMediaPoolItem\lookupTitle().
Referenced by editMediaPoolPage().
ilObjMediaPoolGUI::getParentFolderId | ( | ) |
Get folder parent ID.
Definition at line 738 of file class.ilObjMediaPoolGUI.php.
References $_GET.
Referenced by executeCommand().
|
static |
Get preview modal html.
Definition at line 1939 of file class.ilObjMediaPoolGUI.php.
References $_GET, $DIC, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilModalGUI\getInstance(), ilObjMediaObjectGUI\includePresentationJS(), and ilModalGUI\TYPE_LARGE.
Referenced by ilMediaPoolTableGUI\getHTML().
ilObjMediaPoolGUI::getTemplate | ( | ) |
Get standard template.
Definition at line 729 of file class.ilObjMediaPoolGUI.php.
Referenced by executeCommand().
|
final |
ilObjMediaPoolGUI::infoScreen | ( | ) |
show information screen
Definition at line 1751 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$access, $error, ilObjectGUI\$ilErr, and $info.
Referenced by executeCommand(), and infoScreenObject().
ilObjMediaPoolGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 1741 of file class.ilObjMediaPoolGUI.php.
References infoScreen().
ilObjMediaPoolGUI::initBulkUploadForm | ( | ) |
Init bulk upload form.
Definition at line 2003 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$ctrl, $form, ilObjectGUI\$lng, and ilFileStandardDropzoneInputGUI\setUploadUrl().
Referenced by bulkUpload(), and performBulkUpload().
|
protected |
Definition at line 438 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\initCreateForm(), and ilObjectGUI\initImportForm().
|
protected |
Definition at line 458 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$object_service, ilPropertyFormGUI\addItem(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilObjectServiceSettingsGUI\initServiceSettingsForm(), ilNumberInputGUI\setMinValue(), and ilNumberInputGUI\setSuffix().
ilObjMediaPoolGUI::initFolderForm | ( | $a_mode = "edit" | ) |
Init folder form.
int | $a_mode | Edit Mode |
Definition at line 1235 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and ilTextInputGUI\setMaxLength().
Referenced by createFolderForm(), editFolder(), saveFolder(), and updateFolder().
ilObjMediaPoolGUI::initMediaBulkForm | ( | $a_id, | |
$a_title | |||
) |
Init media bulk form.
Definition at line 2169 of file class.ilObjMediaPoolGUI.php.
References $form, ilObjectGUI\$lng, and ilTextInputGUI\setValue().
Referenced by editTitlesAndDescriptions(), and saveTitlesAndDescriptions().
ilObjMediaPoolGUI::initMediaPoolPageForm | ( | $a_mode = "edit" | ) |
Init page form.
int | $a_mode | Edit Mode |
Definition at line 1402 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and ilTextInputGUI\setMaxLength().
Referenced by createMediaPoolPage(), editMediaPoolPage(), saveMediaPoolPage(), and updateMediaPoolPage().
ilObjMediaPoolGUI::insertFromClipboard | ( | ) |
insert media object from clipboard
Definition at line 970 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$access, $id, $type, ilEditClipboardGUI\_getSelectedIDs(), ilObject\_lookupTitle(), ilObject2GUI\checkPermission(), ilMediaPoolPage\lookupTitle(), ilMediaPoolItem\lookupTitle(), and ilUtil\sendInfo().
ilObjMediaPoolGUI::listMedia | ( | ) |
list media objects
Definition at line 569 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $tabs, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, ilMainMenuGUI\_checkAdministrationPermission(), ilObject2GUI\checkPermission(), and setContentSubTabs().
ilObjMediaPoolGUI::openClipboard | ( | ) |
paste from clipboard
Definition at line 945 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$ctrl, $ilCtrl, and ilObject2GUI\checkPermission().
ilObjMediaPoolGUI::performBulkUpload | ( | ) |
Save bulk upload form.
Definition at line 2033 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $form, $format, ilObjectGUI\$lng, $location, $log, $main_tpl, $mep_log, $result, $title, ilObject2GUI\$tree, $upload, ilObjMediaObject\_getRelativeDirectory(), ilObject2GUI\checkPermission(), ilObjMediaObject\fixFilename(), ilObjMediaObject\getMimeType(), initBulkUploadForm(), and ilUtil\stripSlashes().
ilObjMediaPoolGUI::remove | ( | ) |
confirm deletion of
Definition at line 1050 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$access, ilObjectGUI\$obj_id, and ilObject2GUI\checkPermission().
ilObjMediaPoolGUI::resetFilter | ( | ) |
Reset filter.
Definition at line 710 of file class.ilObjMediaPoolGUI.php.
References allMedia(), and ilMediaPoolTableGUI\IL_MEP_EDIT.
ilObjMediaPoolGUI::saveFolder | ( | ) |
Save folder form.
Definition at line 1181 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and initFolderForm().
ilObjMediaPoolGUI::saveMediaPoolPage | ( | ) |
Save media pool page.
Definition at line 1332 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObject2GUI\$tree, ilObject2GUI\checkPermission(), and initMediaPoolPageForm().
|
protected |
Save titles and descriptions.
Definition at line 2193 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$ctrl, $form, ilObjectGUI\$lng, $title, ilObject2GUI\checkPermission(), ilMediaItem\getMediaItemsForUploadHash(), and initMediaBulkForm().
ilObjMediaPoolGUI::selectUploadDirFiles | ( | $a_files = null | ) |
Select files from upload directory.
Definition at line 1789 of file class.ilObjMediaPoolGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, PHPMailer\PHPMailer\$options, $si, $tab, $tabs, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, ilMainMenuGUI\_checkAdministrationPermission(), and ilObject2GUI\checkPermission().
ilObjMediaPoolGUI::setContentSubTabs | ( | $a_active | ) |
Set sub tabs for content tab.
string |
Definition at line 1540 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$ctrl, $ilCtrl, and $tabs.
Referenced by allMedia(), executeCommand(), and listMedia().
ilObjMediaPoolGUI::setMediaPoolPageTabs | ( | ) |
Set media pool page tabs.
Definition at line 1448 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, and $tabs.
Referenced by editMediaPoolPage(), executeCommand(), and showMediaPoolPageUsages().
ilObjMediaPoolGUI::setSettingsSubTabs | ( | $a_active | ) |
Set setting sub tabs.
Definition at line 1668 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$lng, and $tabs.
Referenced by edit(), and executeCommand().
ilObjMediaPoolGUI::setTabs | ( | ) |
Set tabs.
Definition at line 1567 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$ctrl, $help, $ilCtrl, and $tabs.
ilObjMediaPoolGUI::showAllMediaPoolPageUsages | ( | ) |
List usages of the contnet snippet.
Definition at line 1474 of file class.ilObjMediaPoolGUI.php.
References showMediaPoolPageUsages().
ilObjMediaPoolGUI::showFullscreen | ( | ) |
show fullscreen
Definition at line 884 of file class.ilObjMediaPoolGUI.php.
References showMedia().
|
protected |
show media object
Definition at line 754 of file class.ilObjMediaPoolGUI.php.
References $_GET, Sabre\VObject\$output, PHPMailer\PHPMailer\$params, $xml, ilObject2GUI\checkPermission(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), ilUtil\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, ilObjMediaObjectGUI\includePresentationJS(), xslt_create(), xslt_error(), and xslt_free().
Referenced by showFullscreen(), and showPreview().
ilObjMediaPoolGUI::showMediaPoolPageUsages | ( | $a_all = false | ) |
List usages of the contnet snippet.
Definition at line 1483 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, $table, $tabs, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and setMediaPoolPageTabs().
Referenced by showAllMediaPoolPageUsages().
ilObjMediaPoolGUI::showPage | ( | ) |
Show page.
Definition at line 814 of file class.ilObjMediaPoolGUI.php.
References $_GET, $ret, ilObjectGUI\$tpl, exit, ilObjStyleSheet\getContentStylePath(), ilUtil\getStyleSheetLocation(), and ilObjStyleSheet\getSyntaxStylePath().
Referenced by showPreview().
ilObjMediaPoolGUI::showPreview | ( | ) |
Show content snippet.
Definition at line 863 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObject2GUI\checkPermission(), showMedia(), and showPage().
|
protected |
Definition at line 544 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$object_service, ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilPropertyFormGUI\getInput(), and ilObjectServiceSettingsGUI\updateServiceSettingsForm().
ilObjMediaPoolGUI::updateFolder | ( | ) |
Update folder.
Definition at line 1204 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and initFolderForm().
ilObjMediaPoolGUI::updateMediaPoolPage | ( | ) |
Update media pool page.
Definition at line 1377 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilCtrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and initMediaPoolPageForm().
|
protected |
Definition at line 36 of file class.ilObjMediaPoolGUI.php.
Referenced by confirmRemove(), and infoScreen().
|
protected |
Definition at line 41 of file class.ilObjMediaPoolGUI.php.
Referenced by setTabs().
|
protected |
Definition at line 46 of file class.ilObjMediaPoolGUI.php.
Referenced by bulkUpload(), editTitlesAndDescriptions(), and performBulkUpload().
|
protected |
Definition at line 56 of file class.ilObjMediaPoolGUI.php.
Referenced by performBulkUpload().
ilObjMediaPoolGUI::$output_prepared |
Definition at line 79 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 31 of file class.ilObjMediaPoolGUI.php.
Referenced by allMedia(), editMediaPoolPage(), executeCommand(), listMedia(), selectUploadDirFiles(), setContentSubTabs(), setMediaPoolPageTabs(), setSettingsSubTabs(), setTabs(), and showMediaPoolPageUsages().
|
protected |
Definition at line 51 of file class.ilObjMediaPoolGUI.php.
Referenced by performBulkUpload().