|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
User Interface class for media pool objects. More...
Inheritance diagram for ilObjMediaPoolGUI:
Collaboration diagram for ilObjMediaPoolGUI: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... | |
Public Member Functions inherited from ilObject2GUI | |
| __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) | |
| 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... | |
| 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... | |
Public Member Functions inherited from ilObjectGUI | |
| 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 @access 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 () | |
| viewObject container presentation for "administration -> repository, trash, permissions" 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... | |
| addToDeskObject () | |
| @inheritDoc More... | |
| removeFromDeskObject () | |
| @inheritDoc More... | |
Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback | |
| callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
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 Public Member Functions inherited from ilObject2GUI | |
| static | handleAfterSaveCallback (ilObject $a_obj, $a_callback_ref_id) |
| After creation callback. More... | |
Static Public Member Functions inherited from ilObjectGUI | |
| 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 | |
Data Fields inherited from ilObject2GUI | |
| 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 |
Data Fields inherited from ilObjectGUI | |
| const | ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION |
| 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) | |
| Init creation froms. More... | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. More... | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. More... | |
| updateCustom (ilPropertyFormGUI $a_form) | |
| Insert custom update form values into object. More... | |
| toggleExplorerNodeState () | |
| Toggle explorer node. More... | |
| showMedia () | |
| show media object More... | |
| bulkUpload () | |
| Bulk upload. More... | |
| editTitlesAndDescriptions () | |
| Edit titles and descriptions. More... | |
| saveTitlesAndDescriptions () | |
| Save titles and descriptions. More... | |
| returnFromItem () | |
| Return from item editing. More... | |
Protected Member Functions inherited from ilObject2GUI | |
| 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... | |
| deleteConfirmedObjects () | |
| Delete objects (workspace specific) More... | |
| setTitleAndDescription () | |
| called by prepare output More... | |
| showUpperIcon () | |
| omitLocator ($a_omit=true) | |
| 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... | |
| 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... | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) 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... | |
| fillCloneSearchTemplate ($a_tpl_varname, $a_type) | |
| searchCloneSource () | |
| buildCloneSelect ($existing_objs) | |
| addAdminLocatorItems ($a_do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| setTabs () | |
| create tabs (repository/workspace switch) More... | |
| getReturnLocation ($a_cmd, $a_location="") | |
| Deprecated functions. More... | |
| setReturnLocation ($a_cmd, $a_location) | |
| set specific return location for command More... | |
| showActions () | |
| 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... | |
| 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) | |
Protected Member Functions inherited from ilObjectGUI | |
| 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... | |
| setTabs () | |
| set admin tabs @access public More... | |
| setAdminTabs () | |
| set admin tabs @access 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 | |
| $mep_item_id = 0 | |
Protected Attributes inherited from ilObject2GUI | |
| $object_id | |
| $node_id | |
| $creation_forms = array() | |
| $id_type = array() | |
| $parent_id | |
| $access_handler | |
Protected Attributes inherited from ilObjectGUI | |
| const | UPLOAD_TYPE_LOCAL = 1 |
| const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
| $ilErr | |
| $locator | |
| $user | |
| $access | |
| $rbacsystem | |
| $settings | |
| $rbacreview | |
| $toolbar | |
| $tmp_import_dir | |
| $tabs_gui = null | |
| $ctrl | |
| $object_service | |
| $favourites | |
| $request | |
User Interface class for media pool objects.
@ilCtrl_Calls ilObjMediaPoolGUI: ilObjMediaObjectGUI, ilObjFolderGUI, ilEditClipboardGUI, ilPermissionGUI @ilCtrl_Calls ilObjMediaPoolGUI: ilInfoScreenGUI, ilMediaPoolPageGUI, ilExportGUI, ilFileSystemGUI @ilCtrl_Calls ilObjMediaPoolGUI: ilCommonActionDispatcherGUI, ilObjectCopyGUI, ilObjectTranslationGUI, ilMediaPoolImportGUI @ilCtrl_Calls 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.
Reimplemented from ilObject2GUI.
Definition at line 66 of file class.ilObjMediaPoolGUI.php.
References $_GET, $DIC, ILIAS\GlobalScreen\Provider\__construct(), error(), ilLoggerFactory\getLogger(), and help().
Here is the call graph for this function:
|
static |
goto target media pool
Definition at line 1691 of file class.ilObjMediaPoolGUI.php.
References $_GET, $DIC, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\$ref_id, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, ROOT_FOLDER_ID, and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjMediaPoolGUI::addLocatorItems | ( | ) |
add locator items for media pool
Reimplemented from ilObject2GUI.
Definition at line 1098 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$locator, ilObjectGUI\$obj_id, ilObjectGUI\$tree, and ilObject2GUI\getCreationMode().
Here is the call graph for this function:
|
protected |
Initialisation.
Reimplemented from ilObject2GUI.
Definition at line 90 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$lng.
| ilObjMediaPoolGUI::afterSave | ( | ilObject | $newObj | ) |
save object
Reimplemented from ilObjectGUI.
Definition at line 459 of file class.ilObjMediaPoolGUI.php.
References ilObject\getRefId(), and ilUtil\redirect().
Here is the call graph for this function:| ilObjMediaPoolGUI::allMedia | ( | ) |
list all objects
Definition at line 645 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, $ilUser, $tabs, ilObjectGUI\$tpl, ilObjectGUI\$user, ilObject2GUI\checkPermission(), ilMediaPoolTableGUI\IL_MEP_EDIT, ilMediaPoolItem\lookupTitle(), and setContentSubTabs().
Referenced by applyFilter(), and resetFilter().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::applyFilter | ( | ) |
Apply filter.
Definition at line 702 of file class.ilObjMediaPoolGUI.php.
References allMedia(), and ilMediaPoolTableGUI\IL_MEP_EDIT.
Here is the call graph for this function:
|
protected |
Bulk upload.
Definition at line 1987 of file class.ilObjMediaPoolGUI.php.
References $main_tpl, ilObject2GUI\checkPermission(), and initBulkUploadForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::cancelFolderUpdate | ( | ) |
Cancel save.
Definition at line 1260 of file class.ilObjMediaPoolGUI.php.
References $_GET, and ilObjectGUI\$ctrl.
| ilObjMediaPoolGUI::cancelRemove | ( | ) |
cancel deletion of media objects/folders
Definition at line 1036 of file class.ilObjMediaPoolGUI.php.
References $_GET.
| ilObjMediaPoolGUI::cancelSave | ( | ) |
Cancel save.
Definition at line 1274 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$ctrl.
| ilObjMediaPoolGUI::confirmRemove | ( | ) |
confirm remove of mobs
Definition at line 886 of file class.ilObjMediaPoolGUI.php.
References $_POST, ilObjectGUI\$ctrl, $error, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\$obj_id, $type, ilObject2GUI\checkPermission(), ilUtil\getImageTagByType(), ilPageContentUsage\getUsages(), ilMediaPoolItem\lookupTitle(), ilMediaPoolItem\lookupType(), and ilUtil\sendFailure().
Here is the call graph for this function:| ilObjMediaPoolGUI::copyToClipboard | ( | ) |
copy media objects to clipboard
Definition at line 1062 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().
Here is the call graph for this function:| ilObjMediaPoolGUI::createFolderForm | ( | ) |
create folder form
Definition at line 1132 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and initFolderForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::createMediaFromUploadDir | ( | ) |
Create media object from upload directory.
Definition at line 1832 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, Vendor\Package\$f, $format, $location, ilObjectGUI\$tree, ilMainMenuGUI\_checkAdministrationPermission(), ilObjMediaObject\_determineWidthHeight(), ilObjMediaObject\_getDirectory(), ilObject2GUI\checkPermission(), ilObjMediaObject\getMimeType(), ilUtil\redirect(), ilUtil\renameExecutables(), ilUtil\sendFailure(), ilImportDirectoryFactory\TYPE_MOB, and ilUtil\virusHandling().
Here is the call graph for this function:| ilObjMediaPoolGUI::createMediaObject | ( | ) |
obsolete?
Definition at line 443 of file class.ilObjMediaPoolGUI.php.
| ilObjMediaPoolGUI::createMediaPoolPage | ( | ) |
Create new content snippet.
Definition at line 1287 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and initMediaPoolPageForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::edit | ( | ) |
edit object
@access public
Reimplemented from ilObject2GUI.
Definition at line 518 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$ilErr, ilObjectGUI\$tabs_gui, ilObjectGUI\$tpl, ilObjectGUI\addExternalEditFormCustom(), ilObject2GUI\checkPermissionBool(), ilObjectGUI\getEditFormValues(), ilObjectGUI\initEditForm(), and setSettingsSubTabs().
Here is the call graph for this function:| ilObjMediaPoolGUI::editFolder | ( | ) |
Edit folder.
return
Definition at line 1149 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), getFolderValues(), and initFolderForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::editMediaPoolPage | ( | ) |
Edit media pool page.
return
Definition at line 1303 of file class.ilObjMediaPoolGUI.php.
References $_GET, $tabs, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), getMediaPoolPageValues(), initMediaPoolPageForm(), and setMediaPoolPageTabs().
Here is the call graph for this function:
|
protected |
Edit titles and descriptions.
Definition at line 2120 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$ctrl, ilObjectGUI\$lng, $main_tpl, ilAccordionGUI\ALL_CLOSED, ilObject2GUI\checkPermission(), ilMediaItem\getMediaItemsForUploadHash(), and initMediaBulkForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::executeCommand | ( | ) |
execute command
| ilCtrlException |
Reimplemented from ilObject2GUI.
Definition at line 120 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$access, ilObjectGUI\$ctrl, ilObjectGUI\$lng, $ret, $tabs, ilObjectGUI\$tpl, ilObjectGUI\$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(), setSettingsSubTabs(), and ilImportDirectoryFactory\TYPE_MOB.
Here is the call graph for this function:| ilObjMediaPoolGUI::export | ( | ) |
export content object
Definition at line 1968 of file class.ilObjMediaPoolGUI.php.
References $_POST, $format, ilObjectTranslation\getInstance(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Add values to custom edit fields.
| array | $a_values |
Reimplemented from ilObjectGUI.
Definition at line 544 of file class.ilObjMediaPoolGUI.php.
| ilObjMediaPoolGUI::getFolderValues | ( | ) |
Get current values for folder from.
Definition at line 1163 of file class.ilObjMediaPoolGUI.php.
References $_GET, and ilMediaPoolItem\lookupTitle().
Referenced by editFolder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::getMediaPoolPageValues | ( | ) |
Get current values for media pool page from.
Definition at line 1426 of file class.ilObjMediaPoolGUI.php.
References $_GET, and ilMediaPoolItem\lookupTitle().
Referenced by editMediaPoolPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::getParentFolderId | ( | ) |
Get folder parent ID.
Definition at line 749 of file class.ilObjMediaPoolGUI.php.
References $_GET.
Referenced by executeCommand().
Here is the caller graph for this function:
|
static |
Get preview modal html.
Definition at line 1936 of file class.ilObjMediaPoolGUI.php.
References $_GET, $DIC, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilModalGUI\getInstance(), ilObjMediaObjectGUI\includePresentationJS(), and ilModalGUI\TYPE_LARGE.
Referenced by ilMediaPoolTableGUI\getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::getTemplate | ( | ) |
Get standard template.
Definition at line 740 of file class.ilObjMediaPoolGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
final |
Get type.
Reimplemented from ilObject2GUI.
Definition at line 109 of file class.ilObjMediaPoolGUI.php.
| ilObjMediaPoolGUI::infoScreen | ( | ) |
show information screen
Definition at line 1745 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$access, $error, and ilObjectGUI\$ilErr.
Referenced by executeCommand(), and infoScreenObject().
Here is the caller graph for this function:| 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 1735 of file class.ilObjMediaPoolGUI.php.
References infoScreen().
Here is the call graph for this function:| ilObjMediaPoolGUI::initBulkUploadForm | ( | ) |
Init bulk upload form.
Definition at line 2000 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$ctrl, and ilObjectGUI\$lng.
Referenced by bulkUpload(), and performBulkUpload().
Here is the caller graph for this function:
|
protected |
Init creation froms.
this will create the default creation forms: new, import, clone
| string | $a_new_type |
Reimplemented from ilObject2GUI.
Definition at line 448 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\initCreateForm(), and ilObjectGUI\initImportForm().
Here is the call graph for this function:
|
protected |
Add custom fields to update form.
| ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 468 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$object_service, ilPropertyFormGUI\addItem(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, and ilObjectServiceSettingsGUI\initServiceSettingsForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::initFolderForm | ( | $a_mode = "edit" | ) |
Init folder form.
| int | $a_mode | Edit Mode |
Definition at line 1229 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$ctrl, and ilObjectGUI\$lng.
Referenced by createFolderForm(), editFolder(), saveFolder(), and updateFolder().
Here is the caller graph for this function:| ilObjMediaPoolGUI::initMediaBulkForm | ( | $a_id, | |
| $a_title | |||
| ) |
Init media bulk form.
Definition at line 2166 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$lng.
Referenced by editTitlesAndDescriptions(), and saveTitlesAndDescriptions().
Here is the caller graph for this function:| ilObjMediaPoolGUI::initMediaPoolPageForm | ( | $a_mode = "edit" | ) |
Init page form.
| int | $a_mode | Edit Mode |
Definition at line 1396 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$ctrl, and ilObjectGUI\$lng.
Referenced by createMediaPoolPage(), editMediaPoolPage(), saveMediaPoolPage(), and updateMediaPoolPage().
Here is the caller graph for this function:| ilObjMediaPoolGUI::insertFromClipboard | ( | ) |
insert media object from clipboard
Definition at line 964 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$access, $type, ilEditClipboardGUI\_getSelectedIDs(), ilObject\_lookupTitle(), ilObject2GUI\checkPermission(), ilMediaPoolItem\lookupTitle(), ilMediaPoolPage\lookupTitle(), and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjMediaPoolGUI::listMedia | ( | ) |
list media objects
Definition at line 579 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$ctrl, ilObjectGUI\$lng, $tabs, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, ilMainMenuGUI\_checkAdministrationPermission(), ilObject2GUI\checkPermission(), setContentSubTabs(), and ilImportDirectoryFactory\TYPE_MOB.
Referenced by returnFromItem().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::openClipboard | ( | ) |
paste from clipboard
Definition at line 939 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$ctrl, and ilObject2GUI\checkPermission().
Here is the call graph for this function:| ilObjMediaPoolGUI::performBulkUpload | ( | ) |
Save bulk upload form.
Definition at line 2030 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, Vendor\Package\$e, $format, ilObjectGUI\$lng, $location, $log, $main_tpl, $mep_log, $result, ilObjectGUI\$tree, $upload, ilObjMediaObject\_getRelativeDirectory(), ilObject2GUI\checkPermission(), ilObjMediaObject\fixFilename(), ilObjMediaObject\getMimeType(), initBulkUploadForm(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjMediaPoolGUI::remove | ( | ) |
confirm deletion of
Definition at line 1044 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$access, ilObjectGUI\$obj_id, and ilObject2GUI\checkPermission().
Here is the call graph for this function:| ilObjMediaPoolGUI::resetFilter | ( | ) |
Reset filter.
Definition at line 721 of file class.ilObjMediaPoolGUI.php.
References allMedia(), and ilMediaPoolTableGUI\IL_MEP_EDIT.
Here is the call graph for this function:
|
protected |
Return from item editing.
Definition at line 2220 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$tree, $type, listMedia(), and ilMediaPoolItem\lookupType().
Here is the call graph for this function:| ilObjMediaPoolGUI::saveFolder | ( | ) |
Save folder form.
Definition at line 1175 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and initFolderForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::saveMediaPoolPage | ( | ) |
Save media pool page.
Definition at line 1326 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObjectGUI\$tree, ilObject2GUI\checkPermission(), and initMediaPoolPageForm().
Here is the call graph for this function:
|
protected |
Save titles and descriptions.
Definition at line 2190 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObject2GUI\checkPermission(), ilMediaItem\getMediaItemsForUploadHash(), and initMediaBulkForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::selectUploadDirFiles | ( | $a_files = null | ) |
Select files from upload directory.
Definition at line 1783 of file class.ilObjMediaPoolGUI.php.
References $_POST, ilObjectGUI\$ctrl, ilObjectGUI\$lng, $si, $tabs, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, ilMainMenuGUI\_checkAdministrationPermission(), and ilObject2GUI\checkPermission().
Here is the call graph for this function:| ilObjMediaPoolGUI::setContentSubTabs | ( | $a_active | ) |
Set sub tabs for content tab.
| string |
Definition at line 1534 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$ctrl, and $tabs.
Referenced by allMedia(), executeCommand(), and listMedia().
Here is the caller graph for this function:| ilObjMediaPoolGUI::setMediaPoolPageTabs | ( | ) |
Set media pool page tabs.
return
Definition at line 1442 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$ctrl, ilObjectGUI\$lng, and $tabs.
Referenced by editMediaPoolPage(), executeCommand(), and showMediaPoolPageUsages().
Here is the caller graph for this function:| ilObjMediaPoolGUI::setSettingsSubTabs | ( | $a_active | ) |
Set setting sub tabs.
return
Definition at line 1662 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$access, ilObjectGUI\$lng, and $tabs.
Referenced by edit(), and executeCommand().
Here is the caller graph for this function:| ilObjMediaPoolGUI::setTabs | ( | ) |
Set tabs.
Reimplemented from ilObject2GUI.
Definition at line 1561 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$ctrl, $help, and $tabs.
| ilObjMediaPoolGUI::showAllMediaPoolPageUsages | ( | ) |
List usages of the contnet snippet.
Definition at line 1468 of file class.ilObjMediaPoolGUI.php.
References showMediaPoolPageUsages().
Here is the call graph for this function:| ilObjMediaPoolGUI::showFullscreen | ( | ) |
show fullscreen
Definition at line 878 of file class.ilObjMediaPoolGUI.php.
References showMedia().
Here is the call graph for this function:
|
protected |
show media object
Definition at line 765 of file class.ilObjMediaPoolGUI.php.
References $_GET, $xml, ilObject2GUI\checkPermission(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), ilUtil\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, ilObjMediaObjectGUI\includePresentationJS(), ilObjMediaObject\isTypeAllowed(), xslt_create(), xslt_error(), and xslt_free().
Referenced by showFullscreen(), and showPreview().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::showMediaPoolPageUsages | ( | $a_all = false | ) |
List usages of the contnet snippet.
Definition at line 1477 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObjectGUI\$ctrl, ilObjectGUI\$lng, $tabs, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and setMediaPoolPageTabs().
Referenced by showAllMediaPoolPageUsages().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::showPage | ( | ) |
Show page.
return
Definition at line 826 of file class.ilObjMediaPoolGUI.php.
References $_GET, $ret, ilObjectGUI\$tpl, exit, ilObjStyleSheet\getContentStylePath(), ilUtil\getStyleSheetLocation(), and ilObjStyleSheet\getSyntaxStylePath().
Referenced by showPreview().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::showPreview | ( | ) |
Show content snippet.
Definition at line 857 of file class.ilObjMediaPoolGUI.php.
References $_GET, ilObject2GUI\checkPermission(), showMedia(), and showPage().
Here is the call graph for this function:
|
protected |
Toggle explorer node.
Definition at line 636 of file class.ilObjMediaPoolGUI.php.
|
protected |
Insert custom update form values into object.
| ilPropertyFormGUI | $a_form |
Reimplemented from ilObjectGUI.
Definition at line 554 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$object_service, ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilPropertyFormGUI\getInput(), and ilObjectServiceSettingsGUI\updateServiceSettingsForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::updateFolder | ( | ) |
Update folder.
Definition at line 1198 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and initFolderForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::updateMediaPoolPage | ( | ) |
Update media pool page.
Definition at line 1371 of file class.ilObjMediaPoolGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$tpl, ilObject2GUI\checkPermission(), and initMediaPoolPageForm().
Here is the call graph for this function:
|
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 61 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 56 of file class.ilObjMediaPoolGUI.php.
Referenced by performBulkUpload().
| ilObjMediaPoolGUI::$output_prepared |
Definition at line 85 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().