ILIAS
release_8 Revision v8.19
|
User Interface class for media pool objects. More...
Public Member Functions | |
__construct (int $a_id=0, int $a_id_type=self::REPOSITORY_NODE_ID, int $a_parent_node_id=0) | |
getType () | |
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... | |
![]() | |
__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) | |
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... | |
![]() | |
__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 () | |
![]() | |
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 | handleAfterSaveCallback (ilObject $obj, ?int $callback_ref_id) |
After creation callback. More... | |
![]() | |
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 |
![]() | |
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 | 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) | |
afterSave (ilObject $new_object) | |
initEditCustomForm (ilPropertyFormGUI $a_form) | |
getEditFormCustomValues (array &$a_values) | |
updateCustom (ilPropertyFormGUI $form) | |
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 () | |
bulkUpload () | |
getBulkUploadForm () | |
handleUploadResult (FileUpload $upload, UploadResult $result) | |
editTitlesAndDescriptions () | |
saveTitlesAndDescriptions () | |
move () | |
![]() | |
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="") | |
setTargetFrame (string $cmd, string $target_frame) | |
getCenterColumnHTML () | |
getRightColumnHTML () | |
checkPermission (string $perm, string $cmd="", string $type="", int $ref_id=null) | |
showPossibleSubObjects () | |
redirectToRefId (int $ref_id, string $cmd="") | |
fillCloneTemplate (?string $tpl_varname, string $type) | |
addAdminLocatorItems (bool $do_not_add_object=false) | |
setTabs () | |
create tabs (repository/workspace switch) More... | |
getReturnLocation (string $cmd, string $location="") | |
Deprecated functions. More... | |
setReturnLocation (string $cmd, string $location) | |
showActions () | |
getTabs () | |
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) | |
![]() | |
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 () | |
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.
ilObjMediaPoolGUI: ilObjMediaObjectGUI, ilObjFolderGUI, ilEditClipboardGUI, ilPermissionGUI ilObjMediaPoolGUI: ilInfoScreenGUI, ilMediaPoolPageGUI, ilExportGUI, ilFileSystemGUI ilObjMediaPoolGUI: ilCommonActionDispatcherGUI, ilObjectCopyGUI, ilObjectTranslationGUI, ilMediaPoolImportGUI 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 |
||
) |
Definition at line 53 of file class.ilObjMediaPoolGUI.php.
References $DIC, ilObjectGUI\$object, ILIAS\GlobalScreen\Provider\__construct(), ilLoggerFactory\getLogger(), ILIAS\Repository\help(), ILIAS\Repository\locator(), ILIAS\Repository\tabs(), and ILIAS\Repository\upload().
|
static |
Definition at line 1414 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, $DIC, ilObject2GUI\$lng, ilObjectGUI\$ref_id, ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilCtrl\redirectByClass(), ROOT_FOLDER_ID, ilGlobalTemplateInterface\setOnScreenMessage(), ilCtrl\setParameterByClass(), and ilLanguage\txt().
|
protected |
add locator items for media pool
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().
|
protected |
ilCtrlException |
Definition at line 95 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$lng, ilObjectGUI\$tree, ILIAS\Repository\ctrl(), ilObject2GUI\getCreationMode(), ilLanguage\loadLanguageModule(), and ilTree\readRootId().
|
protected |
Definition at line 479 of file class.ilObjMediaPoolGUI.php.
References ilObject\getRefId(), ILIAS\Repository\lng(), and ilUtil\redirect().
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().
ilObjMediaPoolGUI::applyFilter | ( | ) |
Apply filter.
Definition at line 720 of file class.ilObjMediaPoolGUI.php.
References allMedia(), and ilMediaPoolTableGUI\IL_MEP_EDIT.
|
protected |
Definition at line 1696 of file class.ilObjMediaPoolGUI.php.
References $main_tpl, ilObject2GUI\checkPermission(), getBulkUploadForm(), and ilGlobalTemplateInterface\setContent().
ilObjMediaPoolGUI::cancelFolderUpdate | ( | ) |
Definition at line 1249 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ILIAS\Repository\object(), and ilCtrl\setParameter().
ilObjMediaPoolGUI::cancelRemove | ( | ) |
cancel deletion of media objects/folders
Definition at line 1049 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
ilObjMediaPoolGUI::cancelSave | ( | ) |
Definition at line 1260 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, and ilCtrl\redirect().
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().
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().
ilObjMediaPoolGUI::createFolderForm | ( | ) |
Definition at line 1136 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), initFolderForm(), and ilGlobalTemplateInterface\setContent().
ilObjMediaPoolGUI::createMediaFromUploadDir | ( | ) |
Create media object from upload directory.
Definition at line 1547 of file class.ilObjMediaPoolGUI.php.
References Vendor\Package\$f, $format, $location, $mep_item_id, ilObjectGUI\$tree, ilObjMediaObject\_determineWidthHeight(), ilObjMediaObject\_getDirectory(), ilObject2GUI\checkPermission(), ilObjMediaObject\getMimeType(), ilTree\insertNode(), ILIAS\Repository\lng(), ilUtil\redirect(), ilFileUtils\renameExecutables(), SYSTEM_FOLDER_ID, ilImportDirectoryFactory\TYPE_MOB, and ilVirusScanner\virusHandling().
ilObjMediaPoolGUI::createMediaObject | ( | ) |
Definition at line 466 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
ilObjMediaPoolGUI::edit | ( | ) |
ilPermissionException |
Definition at line 534 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$tabs_gui, ilObject2GUI\$tpl, ilObjectGUI\addExternalEditFormCustom(), ilObject2GUI\checkPermissionBool(), ilObjectGUI\getEditFormValues(), ilPropertyFormGUI\getHTML(), ilObjectGUI\initEditForm(), ILIAS\Repository\lng(), ilGlobalTemplateInterface\setContent(), setSettingsSubTabs(), and ilPropertyFormGUI\setValuesByArray().
ilObjMediaPoolGUI::editFolder | ( | ) |
Definition at line 1146 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), getFolderValues(), initFolderForm(), and ilGlobalTemplateInterface\setContent().
|
protected |
Definition at line 1804 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$html, ilObject2GUI\$lng, $main_tpl, ilAccordionGUI\ALL_CLOSED, ilObject2GUI\checkPermission(), ilCtrl\getFormAction(), ilPropertyFormGUI\getHTML(), ilMediaItem\getMediaItemsForUploadHash(), initMediaBulkForm(), ilCtrl\saveParameter(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
ilObjMediaPoolGUI::executeCommand | ( | ) |
Definition at line 125 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ilObject2GUI\$ctrl, 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(), ilPageObjectGUI\setAdvMdRecordObject(), ilGlobalTemplateInterface\setContent(), setContentSubTabs(), ilObject2GUI\setCreationMode(), ilObject2GUI\setLocator(), ilFileSystemGUI\setPostDirPath(), setSettingsSubTabs(), ilLanguage\txt(), and ilImportDirectoryFactory\TYPE_MOB.
ilObjMediaPoolGUI::export | ( | ) |
Definition at line 1680 of file class.ilObjMediaPoolGUI.php.
References $format, ilObjectTranslation\getInstance(), ILIAS\Repository\object(), and ilUtil\stripSlashes().
|
protected |
Definition at line 1706 of file class.ilObjMediaPoolGUI.php.
References $bulk_upload_form, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by bulkUpload(), and executeCommand().
|
protected |
Definition at line 559 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Survey\Mode\getId(), and ilObjectTranslation\getInstance().
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().
|
protected |
Get media pool page.
Definition at line 867 of file class.ilObjMediaPoolGUI.php.
Referenced by showPage().
ilObjMediaPoolGUI::getParentFolderId | ( | ) |
Get folder parent ID.
Definition at line 762 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\object().
Referenced by executeCommand().
|
static |
Get preview modal html.
Definition at line 1643 of file class.ilObjMediaPoolGUI.php.
References $DIC, ilObject2GUI\$lng, ilObjectGUI\$request, ilObject2GUI\$tpl, ilGlobalTemplateInterface\addJavaScript(), ilModalGUI\getInstance(), ilObjMediaObjectGUI\includePresentationJS(), ilLanguage\txt(), and ilModalGUI\TYPE_LARGE.
Referenced by ilMediaPoolTableGUI\getHTML().
ilObjMediaPoolGUI::getTemplate | ( | ) |
Get standard template.
Definition at line 753 of file class.ilObjMediaPoolGUI.php.
Referenced by executeCommand().
|
final |
Definition at line 115 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 1727 of file class.ilObjMediaPoolGUI.php.
References $format, $location, $mep_item_id, ilObjectGUI\$tree, ilObjMediaObject\_getRelativeDirectory(), ilObjMediaObject\fixFilename(), ilObjMediaObject\getMediaItem(), ilObjMediaObject\getMimeType(), ILIAS\FileUpload\DTO\UploadResult\getName(), ilTree\insertNode(), and ILIAS\FileUpload\FileUpload\moveOneFileTo().
ilObjMediaPoolGUI::infoScreen | ( | ) |
show information screen
ilCtrlException | |
ilPermissionException |
Definition at line 1462 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\tabs().
Referenced by executeCommand(), and infoScreenObject().
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(), and infoScreen().
|
protected |
Definition at line 471 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\initCreateForm(), and ilObjectGUI\initImportForm().
|
protected |
Definition at line 488 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$object_service, ilPropertyFormGUI\addItem(), ilObjectServiceSettingsGUI\CUSTOM_METADATA, ilObjectServiceSettingsGUI\initServiceSettingsForm(), ILIAS\Repository\lng(), ILIAS\Repository\object(), ilNumberInputGUI\setMinValue(), and ilNumberInputGUI\setSuffix().
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().
ilObjMediaPoolGUI::initMediaBulkForm | ( | int | $a_id, |
string | $a_title | ||
) |
Init media bulk form.
Definition at line 1849 of file class.ilObjMediaPoolGUI.php.
References $form, ilObject2GUI\$lng, ilPropertyFormGUI\addItem(), ilFormGUI\setCloseTag(), ilFormGUI\setOpenTag(), and ilLanguage\txt().
Referenced by editTitlesAndDescriptions(), and saveTitlesAndDescriptions().
ilObjMediaPoolGUI::insertFromClipboard | ( | ) |
insert media object from clipboard
Definition at line 985 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$id, $mep_item_id, ilObject2GUI\$type, ilEditClipboardGUI\_getSelectedIDs(), ilObject\_lookupTitle(), ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), ilObjMediaPool\isForeignIdInTree(), ilObjMediaPool\isItemIdInTree(), ILIAS\Repository\lng(), ilMediaPoolPage\lookupTitle(), ilMediaPoolItem\lookupTitle(), and ILIAS\Repository\object().
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().
|
protected |
Definition at line 1897 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$id, ilObject2GUI\$parent_id, ilSession\clear(), ILIAS\Repository\ctrl(), ilSession\get(), ilMediaPoolItem\getPoolForItemId(), ILIAS\Repository\lng(), ilMediaPoolItem\lookupType(), and ilSession\set().
ilObjMediaPoolGUI::openClipboard | ( | ) |
paste from clipboard
Definition at line 961 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, and ilObject2GUI\checkPermission().
ilObjMediaPoolGUI::performBulkUpload | ( | ) |
Save bulk upload form.
Definition at line 1797 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\checkPermission(), and ILIAS\Repository\ctrl().
ilObjMediaPoolGUI::remove | ( | ) |
Definition at line 1054 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$obj_id, ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilObjMediaPoolGUI::resetFilter | ( | ) |
Definition at line 735 of file class.ilObjMediaPoolGUI.php.
References allMedia(), and ilMediaPoolTableGUI\IL_MEP_EDIT.
|
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().
ilObjMediaPoolGUI::saveFolder | ( | ) |
Save folder form.
Definition at line 1172 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, $mep_item_id, ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), initFolderForm(), ILIAS\Repository\object(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
|
protected |
Definition at line 1871 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, ilPropertyFormGUI\checkInput(), ilObject2GUI\checkPermission(), ilPropertyFormGUI\getInput(), ilMediaItem\getMediaItemsForUploadHash(), initMediaBulkForm(), ilCtrl\redirect(), and ilLanguage\txt().
ilObjMediaPoolGUI::selectUploadDirFiles | ( | ?array | $a_files = null | ) |
Select files from upload directory.
Definition at line 1498 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, $tabs, ilObject2GUI\$toolbar, ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ilGlobalTemplateInterface\setContent(), SYSTEM_FOLDER_ID, and ilLanguage\txt().
ilObjMediaPoolGUI::setContentSubTabs | ( | string | $a_active | ) |
Set sub tabs for content tab.
Definition at line 1273 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ilObject2GUI\$ctrl, $tabs, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilCtrl\setParameter().
Referenced by allMedia(), executeCommand(), and listMedia().
ilObjMediaPoolGUI::setSettingsSubTabs | ( | string | $a_active | ) |
Definition at line 1387 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ilObject2GUI\$lng, $tabs, ILIAS\Repository\ctrl(), and ilLanguage\txt().
Referenced by edit(), and executeCommand().
|
protected |
Definition at line 1297 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, $help, $tabs, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilHelpGUI\setScreenIdComponent().
ilObjMediaPoolGUI::showFullscreen | ( | ) |
show media fullscreen
Definition at line 901 of file class.ilObjMediaPoolGUI.php.
References showMedia().
|
protected |
show media object
Definition at line 778 of file class.ilObjMediaPoolGUI.php.
References $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().
ilObjMediaPoolGUI::showPage | ( | ) |
Show page.
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().
ilObjMediaPoolGUI::showPreview | ( | ) |
Show content snippet.
Definition at line 880 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\checkPermission(), showMedia(), and showPage().
|
protected |
Definition at line 667 of file class.ilObjMediaPoolGUI.php.
|
protected |
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().
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().
|
protected |
Definition at line 40 of file class.ilObjMediaPoolGUI.php.
Referenced by getBulkUploadForm().
|
protected |
Definition at line 42 of file class.ilObjMediaPoolGUI.php.
Referenced by initMediaBulkForm(), and updateCustom().
|
protected |
Definition at line 41 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 47 of file class.ilObjMediaPoolGUI.php.
Referenced by setTabs().
|
protected |
Definition at line 48 of file class.ilObjMediaPoolGUI.php.
Referenced by bulkUpload(), and editTitlesAndDescriptions().
|
protected |
Definition at line 44 of file class.ilObjMediaPoolGUI.php.
Referenced by addLocatorItems(), createMediaFromUploadDir(), executeCommand(), handleUploadResult(), insertFromClipboard(), and saveFolder().
|
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.
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(), listMedia(), selectUploadDirFiles(), setContentSubTabs(), setSettingsSubTabs(), and setTabs().
|
protected |
Definition at line 49 of file class.ilObjMediaPoolGUI.php.