|
ILIAS
release_8 Revision v8.24
|
User Interface class for media pool objects. More...
Inheritance diagram for ilObjMediaPoolGUI:
Collaboration diagram for ilObjMediaPoolGUI:Public Member Functions | |
| __construct (int $a_id=0, int $a_id_type=self::REPOSITORY_NODE_ID, int $a_parent_node_id=0) | |
| getType () | |
| Functions that must be overwritten. More... | |
| executeCommand () | |
| createMediaObject () | |
| edit () | |
| listMedia () | |
| list media objects More... | |
| allMedia () | |
| list all media objects More... | |
| applyFilter () | |
| Apply filter. More... | |
| resetFilter () | |
| getTemplate () | |
| Get standard template. More... | |
| getParentFolderId () | |
| Get folder parent ID. More... | |
| showPage () | |
| Show page. More... | |
| showPreview () | |
| Show content snippet. More... | |
| showFullscreen () | |
| show media 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 () | |
| copyToClipboard () | |
| copy media objects to clipboard More... | |
| createFolderForm () | |
| editFolder () | |
| getFolderValues () | |
| Get current values for folder from. More... | |
| saveFolder () | |
| Save folder form. More... | |
| updateFolder () | |
| initFolderForm (string $a_mode="edit") | |
| cancelFolderUpdate () | |
| cancelSave () | |
| setContentSubTabs (string $a_active) | |
| Set sub tabs for content tab. More... | |
| setSettingsSubTabs (string $a_active) | |
| infoScreenObject () | |
| this one is called from the info button in the repository More... | |
| infoScreen () | |
| show information screen More... | |
| selectUploadDirFiles (?array $a_files=null) | |
| Select files from upload directory. More... | |
| createMediaFromUploadDir () | |
| Create media object from upload directory. More... | |
| export () | |
| performBulkUpload () | |
| Save bulk upload form. More... | |
| initMediaBulkForm (int $a_id, string $a_title) | |
| Init media bulk form. More... | |
Public Member Functions inherited from ilObject2GUI | |
| __construct (int $id=0, int $id_type=self::REPOSITORY_NODE_ID, int $parent_node_id=0) | |
| executeCommand () | |
| execute command More... | |
| getIdType () | |
| 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 (bool $mode=true) | |
| if true, a creation screen is displayed the current [ref_id] don't belong to the current class! The mode is determined in ilRepositoryGUI More... | |
| getCreationMode () | |
| prepareOutput (bool $show_sub_objects=true) | |
| isVisible (int $ref_id, string $type) | |
| setColumnSettings (ilColumnGUI $column_gui) | |
| cancelDelete () | |
| view () | |
| view object content (repository/workspace switch) More... | |
| getType () | |
| Functions that must be overwritten. More... | |
| create () | |
| CRUD. More... | |
| save () | |
| edit () | |
| update () | |
| cancel () | |
| importFile () | |
| putObjectInTree (ilObject $obj, int $parent_node_id=null) | |
| Add object to tree at given position. More... | |
Public Member Functions inherited from ilObjectGUI | |
| __construct ($data, int $id=0, bool $call_by_reference=true, bool $prepare_output=true) | |
| getRefId () | |
| setAdminMode (string $mode) | |
| getAdminMode () | |
| getObject () | |
| executeCommand () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| setCreationMode (bool $mode=true) | |
| if true, a creation screen is displayed the current [ref_id] don't belong to the current class! The mode is determined in ilRepositoryGUI More... | |
| getCreationMode () | |
| prepareOutput (bool $show_sub_objects=true) | |
| 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 More... | |
| createObject () | |
| create new object form More... | |
| cancelCreation () | |
| cancel create action and go back to repository parent More... | |
| saveObject () | |
| getDidacticTemplateVar (string $type) | |
| Get didactic template setting from creation screen. More... | |
| putObjectInTree (ilObject $obj, int $parent_node_id=null) | |
| Add object to tree at given position. More... | |
| editObject () | |
| addExternalEditFormCustom (ilPropertyFormGUI $form) | |
| updateObject () | |
| updates object entry in object_data More... | |
| getFormAction (string $cmd, string $default_form_action="") | |
| Get form action for command (command is method name without "Object", e.g. More... | |
| isVisible (int $ref_id, string $type) | |
| viewObject () | |
| viewObject container presentation for "administration -> repository, trash, permissions" More... | |
| deleteObject (bool $error=false) | |
| Display deletion confirmation screen. More... | |
| setColumnSettings (ilColumnGUI $column_gui) | |
| redirectAfterCreation () | |
| Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html Should be overwritten and redirect to settings screen. More... | |
| addToDeskObject () | |
| removeFromDeskObject () | |
Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback | |
| callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Static Public Member Functions | |
| static | _goto (string $a_target) |
| static | getPreviewModalHTML (int $a_mpool_ref_id, ilGlobalTemplateInterface $a_tpl) |
| Get preview modal html. More... | |
Static Public Member Functions inherited from ilObject2GUI | |
| static | handleAfterSaveCallback (ilObject $obj, ?int $callback_ref_id) |
| After creation callback. More... | |
Static Public Member Functions inherited from ilObjectGUI | |
| static | _gotoRepositoryRoot (bool $raise_error=false) |
| Goto repository root. More... | |
| static | _gotoRepositoryNode (int $ref_id, string $cmd="") |
| static | _gotoSharedWorkspaceNode (int $wsp_id) |
Data Fields | |
| bool | $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 | ADMIN_MODE_NONE = "" |
| const | ADMIN_MODE_SETTINGS = "settings" |
| const | ADMIN_MODE_REPOSITORY = "repository" |
| const | UPLOAD_TYPE_LOCAL = 1 |
| const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
| const | CFORM_NEW = 1 |
| const | CFORM_IMPORT = 2 |
| const | CFORM_CLONE = 3 |
Protected Member Functions | |
| afterConstructor () | |
| returnFromItem () | |
| Return from item editing. More... | |
| initCreationForms (string $new_type) | |
| Init creation forms. More... | |
| afterSave (ilObject $new_object) | |
| Post (successful) object creation hook. 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 $form) | |
| Insert custom update form values into object. More... | |
| toggleExplorerNodeState () | |
| showMedia () | |
| show media object More... | |
| getMediaPoolPageGUI ($mep_item_id, $old_nr=0) | |
| Get media pool page. More... | |
| addLocatorItems () | |
| add locator items for media pool More... | |
| setTabs () | |
| create tabs (repository/workspace switch) More... | |
| bulkUpload () | |
| getBulkUploadForm () | |
| handleUploadResult (FileUpload $upload, UploadResult $result) | |
| editTitlesAndDescriptions () | |
| saveTitlesAndDescriptions () | |
| move () | |
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 () | |
| setLocator () | |
| set Locator More... | |
| deleteConfirmedObjects () | |
| Delete objects (workspace specific) This should probably be moved elsewhere as done with RepUtil. More... | |
| setTitleAndDescription () | |
| omitLocator (bool $omit=true) | |
| getTargetFrame (string $cmd, string $target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. More... | |
| setTargetFrame (string $cmd, string $target_frame) | |
| Set specific target frame for command. More... | |
| getCenterColumnHTML () | |
| Get center column. More... | |
| getRightColumnHTML () | |
| Display right column. More... | |
| checkPermission (string $perm, string $cmd="", string $type="", int $ref_id=null) | |
| showPossibleSubObjects () | |
| show possible sub objects (pull down menu) More... | |
| redirectToRefId (int $ref_id, string $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 ["ref_id"] value of the request More... | |
| fillCloneTemplate (?string $tpl_varname, string $type) | |
| Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More... | |
| addAdminLocatorItems (bool $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 (string $cmd, string $location="") | |
| Deprecated functions. More... | |
| setReturnLocation (string $cmd, string $location) | |
| set specific return location for command More... | |
| showActions () | |
| getTabs () | |
| @abstract overwrite in derived GUI class of your object type More... | |
| addLocatorItems () | |
| Functions to be overwritten. More... | |
| initCreationForms (string $new_type) | |
| Init creation forms. More... | |
| checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $node_id=null) | |
| initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
| Add header action menu. More... | |
| redrawHeaderAction () | |
| Updating icons after ajax call. More... | |
| getPermanentLinkWidget (string $append=null, bool $center=false) | |
Protected Member Functions inherited from ilObjectGUI | |
| getObjectService () | |
| assignObject () | |
| setTitleAndDescription () | |
| initHeaderAction (?string $sub_type=null, ?int $sub_id=null) | |
| Add header action menu. More... | |
| insertHeaderAction (?ilObjectListGUI $list_gui=null) | |
| 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 More... | |
| setAdminTabs () | |
| set admin tabs More... | |
| setLocator () | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| omitLocator (bool $omit=true) | |
| addAdminLocatorItems (bool $do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| initCreationForms (string $new_type) | |
| Init creation forms. More... | |
| getCreationFormsHTML (array $forms) | |
| Get HTML for creation forms (accordion) More... | |
| initCreateForm (string $new_type) | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| addDidacticTemplateOptions (array &$a_options) | |
| Add custom templates. More... | |
| afterSave (ilObject $new_object) | |
| Post (successful) object creation hook. More... | |
| initEditForm () | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. More... | |
| getEditFormValues () | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. More... | |
| validateCustom (ilPropertyFormGUI $form) | |
| Validate custom values (if not possible with checkInput()) More... | |
| updateCustom (ilPropertyFormGUI $form) | |
| Insert custom update form values into object. More... | |
| afterUpdate () | |
| Post (successful) object update hook. More... | |
| initImportForm (string $new_type) | |
| importFileObject (int $parent_id=null) | |
| afterImport (ilObject $new_object) | |
| Post (successful) object import hook. More... | |
| setFormAction (string $cmd, string $form_action) | |
| getReturnLocation (string $cmd, string $default_location="") | |
| Get return location for command (command is method name without "Object", e.g. More... | |
| setReturnLocation (string $cmd, string $location) | |
| set specific return location for command More... | |
| getTargetFrame (string $cmd, string $default_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. More... | |
| setTargetFrame (string $cmd, string $target_frame) | |
| Set specific target frame for command. More... | |
| showPossibleSubObjects () | |
| show possible sub objects (pull down menu) More... | |
| getTabs () | |
| @abstract overwrite in derived GUI class of your object type More... | |
| redirectToRefId (int $ref_id, string $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 ["ref_id"] value of the request More... | |
| fillCloneTemplate (?string $tpl_name, string $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... | |
| checkPermission (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
| checkPermissionBool (string $perm, string $cmd="", string $type="", ?int $ref_id=null) | |
| enableDragDropFileUpload () | |
| Enables the file upload into this object by dropping files. More... | |
| showCustomIconsEditing ( $input_colspan=1, ilPropertyFormGUI $form=null, $as_section=true) | |
| show edit section of custom icons for container More... | |
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, ilRepoStandardUploadHandlerGUI
Definition at line 38 of file class.ilObjMediaPoolGUI.php.
| ilObjMediaPoolGUI::__construct | ( | int | $a_id = 0, |
| int | $a_id_type = self::REPOSITORY_NODE_ID, |
||
| int | $a_parent_node_id = 0 |
||
| ) |
Reimplemented from ilObject2GUI.
Definition at line 53 of file class.ilObjMediaPoolGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilLoggerFactory\getLogger(), ILIAS\Repository\help(), ILIAS\Repository\locator(), ILIAS\Repository\tabs(), and ILIAS\Repository\upload().
Here is the call graph for this function:
|
static |
Definition at line 1414 of file class.ilObjMediaPoolGUI.php.
References $DIC, $lng, $ref_id, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ROOT_FOLDER_ID, and ilGlobalTemplateInterface\setOnScreenMessage().
Here is the call graph for this function:
|
protected |
add locator items for media pool
Reimplemented from ilObject2GUI.
Definition at line 1107 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ilObject2GUI\$locator, $mep_item_id, ilObjectGUI\$obj_id, $path, ilObjectGUI\$tree, ILIAS\Repository\ctrl(), ilObject2GUI\getCreationMode(), ilTree\getPathFull(), and ilTree\getRootId().
Here is the call graph for this function:
|
protected |
| ilCtrlException |
Reimplemented from ilObject2GUI.
Definition at line 95 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$lng, ilObjectGUI\$tree, ILIAS\Repository\ctrl(), ilObject2GUI\getCreationMode(), ilLanguage\loadLanguageModule(), and ilTree\readRootId().
Here is the call graph for this function:
|
protected |
Post (successful) object creation hook.
Reimplemented from ilObjectGUI.
Definition at line 479 of file class.ilObjMediaPoolGUI.php.
References ilObject\getRefId(), ILIAS\Repository\lng(), and ilUtil\redirect().
Here is the call graph for this function:| ilObjMediaPoolGUI::allMedia | ( | ) |
list all media objects
Definition at line 676 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, $ilUser, $tabs, ilObject2GUI\$tpl, ilObject2GUI\$user, ilObject2GUI\checkPermission(), ilMediaPoolTableGUI\IL_MEP_EDIT, ilMediaPoolItem\lookupTitle(), ilGlobalTemplateInterface\setContent(), 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 720 of file class.ilObjMediaPoolGUI.php.
References allMedia(), and ilMediaPoolTableGUI\IL_MEP_EDIT.
Here is the call graph for this function:
|
protected |
Definition at line 1696 of file class.ilObjMediaPoolGUI.php.
References ilGlobalTemplateInterface\setContent().
Here is the call graph for this function:| ilObjMediaPoolGUI::cancelFolderUpdate | ( | ) |
Definition at line 1249 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ILIAS\Repository\object(), and ilCtrl\setParameter().
Here is the call graph for this function:| ilObjMediaPoolGUI::cancelRemove | ( | ) |
cancel deletion of media objects/folders
Definition at line 1049 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilObjMediaPoolGUI::cancelSave | ( | ) |
Definition at line 1260 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, and ilCtrl\redirect().
Here is the call graph for this function:| ilObjMediaPoolGUI::confirmRemove | ( | ) |
confirm remove of mobs
Definition at line 909 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, ilObjectGUI\$obj_id, ilObject2GUI\$type, ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), ilPageContentUsage\getUsages(), ILIAS\Repository\lng(), ilMediaPoolItem\lookupTitle(), ilMediaPoolItem\lookupType(), and ilLanguage\txt().
Here is the call graph for this function:| ilObjMediaPoolGUI::copyToClipboard | ( | ) |
copy media objects to clipboard
Definition at line 1071 of file class.ilObjMediaPoolGUI.php.
References $ilUser, ilObjectGUI\$obj_id, ilObject2GUI\$type, ilObject2GUI\$user, ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilMediaPoolItem\lookupForeignId(), and ilMediaPoolItem\lookupType().
Here is the call graph for this function:| ilObjMediaPoolGUI::createFolderForm | ( | ) |
Definition at line 1136 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), initFolderForm(), and ilGlobalTemplateInterface\setContent().
Here is the call graph for this function:| ilObjMediaPoolGUI::createMediaFromUploadDir | ( | ) |
Create media object from upload directory.
Definition at line 1547 of file class.ilObjMediaPoolGUI.php.
References Vendor\Package\$f, $format, $location, ilObjMediaObject\_determineWidthHeight(), ilObjMediaObject\_getDirectory(), ilObjMediaObject\getMimeType(), ILIAS\Repository\lng(), ilUtil\redirect(), ilFileUtils\renameExecutables(), SYSTEM_FOLDER_ID, ilImportDirectoryFactory\TYPE_MOB, and ilVirusScanner\virusHandling().
Here is the call graph for this function:| ilObjMediaPoolGUI::createMediaObject | ( | ) |
Definition at line 466 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilObjMediaPoolGUI::edit | ( | ) |
| ilPermissionException |
Reimplemented from ilObject2GUI.
Definition at line 534 of file class.ilObjMediaPoolGUI.php.
References $form, ilObject2GUI\$tabs_gui, ilObject2GUI\$tpl, ilObjectGUI\addExternalEditFormCustom(), ilObject2GUI\checkPermissionBool(), ilObjectGUI\getEditFormValues(), ilPropertyFormGUI\getHTML(), ilObjectGUI\initEditForm(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\setContent(), setSettingsSubTabs(), and ilPropertyFormGUI\setValuesByArray().
Here is the call graph for this function:| ilObjMediaPoolGUI::editFolder | ( | ) |
Definition at line 1146 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), getFolderValues(), initFolderForm(), and ilGlobalTemplateInterface\setContent().
Here is the call graph for this function:
|
protected |
Definition at line 1804 of file class.ilObjMediaPoolGUI.php.
References $lng, ilAccordionGUI\ALL_CLOSED, ilPropertyFormGUI\getHTML(), ilMediaItem\getMediaItemsForUploadHash(), and ilGlobalTemplateInterface\setContent().
Here is the call graph for this function:| ilObjMediaPoolGUI::executeCommand | ( | ) |
Reimplemented from ilObject2GUI.
Definition at line 125 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ilObject2GUI\$ctrl, $form, $gui, ilObject2GUI\$lng, $mep_item_id, ilObjectGUI\$object, $tabs, ilObject2GUI\$tpl, ilObjectGUI\$tree, ilObjectGUI\addHeaderAction(), ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), getBulkUploadForm(), ilObject2GUI\getCreationMode(), ilObject\getId(), ilObjectTranslation\getInstance(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getParentFolderId(), ilTree\getParentId(), getTemplate(), ilObject\getTitle(), infoScreen(), ilTree\insertNode(), ILIAS\Repository\lng(), ilMediaPoolItem\lookupForeignId(), ILIAS\Repository\object(), ilObject2GUI\prepareOutput(), ilUtil\redirect(), ilGlobalTemplateInterface\setContent(), setContentSubTabs(), ilObject2GUI\setCreationMode(), ilObject2GUI\setLocator(), setSettingsSubTabs(), ilLanguage\txt(), and ilImportDirectoryFactory\TYPE_MOB.
Here is the call graph for this function:| ilObjMediaPoolGUI::export | ( | ) |
Definition at line 1680 of file class.ilObjMediaPoolGUI.php.
References $format, ilObjectTranslation\getInstance(), ILIAS\Repository\object(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 1706 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Add values to custom edit fields.
Reimplemented from ilObjectGUI.
Definition at line 559 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Survey\Mode\getId(), and ilObjectTranslation\getInstance().
Here is the call graph for this function:| ilObjMediaPoolGUI::getFolderValues | ( | ) |
Get current values for folder from.
Definition at line 1160 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\form(), and ilMediaPoolItem\lookupTitle().
Referenced by editFolder().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Get media pool page.
return
Definition at line 867 of file class.ilObjMediaPoolGUI.php.
References $mep_item_id.
Referenced by showPage().
Here is the caller graph for this function:| ilObjMediaPoolGUI::getParentFolderId | ( | ) |
Get folder parent ID.
Definition at line 762 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\object().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get preview modal html.
Definition at line 1643 of file class.ilObjMediaPoolGUI.php.
Referenced by ilMediaPoolTableGUI\getHTML().
Here is the caller graph for this function:| ilObjMediaPoolGUI::getTemplate | ( | ) |
Get standard template.
Definition at line 753 of file class.ilObjMediaPoolGUI.php.
Referenced by executeCommand().
Here is the caller graph for this function:
|
final |
Functions that must be overwritten.
Reimplemented from ilObject2GUI.
Definition at line 115 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 1727 of file class.ilObjMediaPoolGUI.php.
| ilObjMediaPoolGUI::infoScreen | ( | ) |
show information screen
| ilCtrlException | |
| ilPermissionException |
Definition at line 1462 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\tabs().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository
Definition at line 1450 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Init creation forms.
This will create the default creation forms: new, import, clone
Reimplemented from ilObject2GUI.
Definition at line 471 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.
Reimplemented from ilObjectGUI.
Definition at line 488 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$object_service, ilPropertyFormGUI\addItem(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilObjectServiceSettingsGUI\initServiceSettingsForm(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Here is the call graph for this function:| ilObjMediaPoolGUI::initFolderForm | ( | string | $a_mode = "edit" | ) |
| string | $a_mode | "edit" | "create" |
| ilCtrlException |
Definition at line 1222 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, ILIAS\Repository\form(), and ilLanguage\txt().
Referenced by createFolderForm(), editFolder(), saveFolder(), and updateFolder().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::initMediaBulkForm | ( | int | $a_id, |
| string | $a_title | ||
| ) |
Init media bulk form.
Definition at line 1849 of file class.ilObjMediaPoolGUI.php.
| ilObjMediaPoolGUI::insertFromClipboard | ( | ) |
insert media object from clipboard
Definition at line 985 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$id, ilObject2GUI\$type, ilEditClipboardGUI\_getSelectedIDs(), ilObject\_lookupTitle(), ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), ilObjMediaPool\isForeignIdInTree(), ilObjMediaPool\isItemIdInTree(), ILIAS\Repository\lng(), ilMediaPoolItem\lookupTitle(), ilMediaPoolPage\lookupTitle(), and ILIAS\Repository\object().
Here is the call graph for this function:| ilObjMediaPoolGUI::listMedia | ( | ) |
list media objects
Definition at line 604 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ilObject2GUI\$ctrl, ilObject2GUI\$lng, $tabs, ilObject2GUI\$toolbar, ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ilSession\get(), ilGlobalTemplateInterface\setContent(), setContentSubTabs(), SYSTEM_FOLDER_ID, ilLanguage\txt(), and ilImportDirectoryFactory\TYPE_MOB.
Referenced by returnFromItem().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1897 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilSession\set().
Here is the call graph for this function:| ilObjMediaPoolGUI::openClipboard | ( | ) |
paste from clipboard
Definition at line 961 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, and ilObject2GUI\checkPermission().
Here is the call graph for this function:| ilObjMediaPoolGUI::performBulkUpload | ( | ) |
Save bulk upload form.
Definition at line 1797 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilObjMediaPoolGUI::remove | ( | ) |
Definition at line 1054 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$obj_id, ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjMediaPoolGUI::resetFilter | ( | ) |
Definition at line 735 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 450 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObjectGUI\$tree, ilObject2GUI\$type, ilTree\getParentId(), listMedia(), ilMediaPoolItem\lookupType(), ilCtrl\redirect(), and ilCtrl\setParameter().
Here is the call graph for this function:| ilObjMediaPoolGUI::saveFolder | ( | ) |
Save folder form.
Definition at line 1172 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), initFolderForm(), ILIAS\Repository\object(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Here is the call graph for this function:
|
protected |
Definition at line 1871 of file class.ilObjMediaPoolGUI.php.
References $lng, ilPropertyFormGUI\checkInput(), ilPropertyFormGUI\getInput(), and ilMediaItem\getMediaItemsForUploadHash().
Here is the call graph for this function:| ilObjMediaPoolGUI::selectUploadDirFiles | ( | ?array | $a_files = null | ) |
Select files from upload directory.
Definition at line 1498 of file class.ilObjMediaPoolGUI.php.
| ilObjMediaPoolGUI::setContentSubTabs | ( | string | $a_active | ) |
Set sub tabs for content tab.
Definition at line 1273 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\lng().
Referenced by allMedia(), executeCommand(), and listMedia().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaPoolGUI::setSettingsSubTabs | ( | string | $a_active | ) |
Definition at line 1387 of file class.ilObjMediaPoolGUI.php.
References $lng, and ILIAS\Repository\ctrl().
Referenced by edit(), and executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
create tabs (repository/workspace switch)
this had to be moved here because of the context-specific permission tab
Reimplemented from ilObject2GUI.
Definition at line 1297 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjMediaPoolGUI::showFullscreen | ( | ) |
show media fullscreen
Definition at line 901 of file class.ilObjMediaPoolGUI.php.
References showMedia().
Here is the call graph for this function:
|
protected |
show media object
Definition at line 778 of file class.ilObjMediaPoolGUI.php.
References $mode, $params, $xml, ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), ilFileUtils\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, ilObjMediaObjectGUI\includePresentationJS(), ilObjMediaObject\isTypeAllowed(), xslt_create(), 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::showPage | ( | ) |
Show page.
return
Definition at line 837 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$tpl, ilGlobalTemplateInterface\addCss(), exit, ilObjStyleSheet\getContentStylePath(), getMediaPoolPageGUI(), ilUtil\getStyleSheetLocation(), ilObjStyleSheet\getSyntaxStylePath(), ilGlobalTemplateInterface\printToStdout(), and ilGlobalTemplateInterface\setVariable().
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 880 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\checkPermission(), showMedia(), and showPage().
Here is the call graph for this function:
|
protected |
Definition at line 667 of file class.ilObjMediaPoolGUI.php.
|
protected |
Insert custom update form values into object.
Reimplemented from ilObjectGUI.
Definition at line 574 of file class.ilObjMediaPoolGUI.php.
References $form, ilObject2GUI\$object_service, ilObjectServiceSettingsGUI\CUSTOM_METADATA, ILIAS\Survey\Mode\getId(), ilPropertyFormGUI\getInput(), ilObjectTranslation\getInstance(), ILIAS\Repository\object(), and ilObjectServiceSettingsGUI\updateServiceSettingsForm().
Here is the call graph for this function:| ilObjMediaPoolGUI::updateFolder | ( | ) |
Definition at line 1192 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), initFolderForm(), ILIAS\Repository\object(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Here is the call graph for this function:
|
protected |
Definition at line 40 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 42 of file class.ilObjMediaPoolGUI.php.
Referenced by edit(), executeCommand(), and updateCustom().
|
protected |
Definition at line 41 of file class.ilObjMediaPoolGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 47 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 48 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 44 of file class.ilObjMediaPoolGUI.php.
Referenced by addLocatorItems(), executeCommand(), and getMediaPoolPageGUI().
|
protected |
Definition at line 50 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 45 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 43 of file class.ilObjMediaPoolGUI.php.
Referenced by showMedia().
| bool ilObjMediaPoolGUI::$output_prepared |
Definition at line 51 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 46 of file class.ilObjMediaPoolGUI.php.
Referenced by allMedia(), executeCommand(), and listMedia().
|
protected |
Definition at line 49 of file class.ilObjMediaPoolGUI.php.