ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
|
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... | |
export () | |
performBulkUpload () | |
Save bulk upload form. More... | |
initMediaBulkForm (int $a_id, string $a_title) | |
Init media bulk form. More... | |
finishSingleUpload (int $mob_id) | |
![]() | |
__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) | |
view () | |
view object content (repository/workspace switch) More... | |
getType () | |
Functions that must be overwritten. More... | |
create () | |
CRUD. More... | |
save () | |
edit () | |
update () | |
cancel () | |
putObjectInTree (ilObject $obj, ?int $parent_node_id=null) | |
Add object to tree at given position. More... | |
![]() | |
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] does belong to the parent 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... | |
cancelObject () | |
cancel action and go back to previous page More... | |
createObject () | |
create new object form More... | |
editAvailabilityPeriodObject () | |
saveAvailabilityPeriodObject () | |
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) | |
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 | 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 |
const | SUPPORTED_IMPORT_MIME_TYPES = [MimeType::APPLICATION__ZIP, MimeType::APPLICATION__X_ZIP_COMPRESSED] |
Protected Member Functions | |
afterConstructor () | |
returnFromItem () | |
Return from item editing. More... | |
afterSave (ilObject $new_object) | |
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 () | |
paste () | |
afterUpload ($mob_ids) | |
afterUrlSaving (int $mob_id, string $long_desc) | |
addMobsToPool (array $mob_ids, string $long_desc="", bool $redirect=true, bool $extract=false) | |
afterPoolInsert (array $mob_ids) | |
onMobUpdate (int $mob_id) | |
![]() | |
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="") | |
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... | |
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... | |
![]() | |
getObjectService () | |
assignObject () | |
setTitleAndDescription () | |
createActionDispatcherGUI () | |
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... | |
getCreationFormsHTML (StandardForm|ilPropertyFormGUI|array $form) | |
getTitleForCreationFormPage () | |
getCreationFormTitle () | |
initCreateForm (string $new_type) | |
didacticTemplatesToForm () | |
initDidacticTemplate (ilPropertyFormGUI $form) | |
retrieveAdditionalDidacticTemplateOptions () | |
addAdoptContentLinkToToolbar () | |
addImportButtonToToolbar () | |
addAvailabilityPeriodButtonToToolbar (ilToolbarGUI $toolbar) | |
parseDidacticTemplateVar (string $var, string $type) | |
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... | |
routeImportCmdObject () | |
importFile (string $file_to_import, string $path_to_uploaded_file_in_temp_dir) | |
deleteUploadedImportFile (string $path_to_uploaded_file_in_temp_dir) | |
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... | |
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... | |
getCreatableObjectTypes () | |
buildAddNewItemElements (array $subtypes, string $create_target_class=ilRepositoryGUI::class, ?int $redirect_target_ref_id=null,) | |
buildGroup (string $create_target_class, array $obj_types_in_group, string $title, array $subtypes) | |
User Interface class for media pool objects.
ilObjMediaPoolGUI: ilObjMediaObjectGUI, ilObjFolderGUI, ilEditClipboardGUI, ilPermissionGUI ilObjMediaPoolGUI: ilInfoScreenGUI, ilMediaPoolPageGUI, ilExportGUI ilObjMediaPoolGUI: ilCommonActionDispatcherGUI, ilObjectCopyGUI, ilObjectTranslationGUI, ilMediaPoolImportGUI ilObjMediaPoolGUI: ilObjectMetaDataGUI ilObjMediaPoolGUI: ilMobMultiSrtUploadGUI, ilObjectMetaDataGUI, ilRepoStandardUploadHandlerGUI, ilMediaCreationGUI ilObjMediaPoolGUI: ILIAS
Definition at line 41 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 58 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 1242 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, ILIAS\UICore\GlobalTemplate\setOnScreenMessage(), ilCtrl\setParameterByClass(), and ilLanguage\txt().
|
protected |
add locator items for media pool
Definition at line 946 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 |
Definition at line 1670 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, $mep_item_id, ilObjectGUI\$object, ilObjectGUI\$tree, ilObject2GUI\$user, ilObject\getId(), ilObject\getTitle(), ilTree\insertNode(), and ilCtrl\redirect().
Referenced by afterPoolInsert(), afterUpload(), and afterUrlSaving().
|
protected |
ilCtrlException |
Definition at line 102 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$lng, ilObjectGUI\$tree, ILIAS\Repository\ctrl(), ilObject2GUI\getCreationMode(), ilLanguage\loadLanguageModule(), and ilTree\readRootId().
|
protected |
Definition at line 1700 of file class.ilObjMediaPoolGUI.php.
References addMobsToPool().
Referenced by executeCommand().
|
protected |
Definition at line 485 of file class.ilObjMediaPoolGUI.php.
References ilObject\getRefId(), ILIAS\Repository\lng(), and ilUtil\redirect().
|
protected |
Definition at line 1660 of file class.ilObjMediaPoolGUI.php.
References addMobsToPool().
Referenced by executeCommand().
|
protected |
Definition at line 1665 of file class.ilObjMediaPoolGUI.php.
References addMobsToPool().
Referenced by executeCommand().
ilObjMediaPoolGUI::allMedia | ( | ) |
list all media objects
Definition at line 566 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, $tabs, ilObject2GUI\$tpl, ilObject2GUI\$user, ilObject2GUI\checkPermission(), ilMediaPoolTableGUI\IL_MEP_EDIT, ilMediaPoolItem\lookupTitle(), ILIAS\UICore\GlobalTemplate\setContent(), and setContentSubTabs().
Referenced by applyFilter(), and resetFilter().
ilObjMediaPoolGUI::applyFilter | ( | ) |
Apply filter.
Definition at line 610 of file class.ilObjMediaPoolGUI.php.
References allMedia(), and ilMediaPoolTableGUI\IL_MEP_EDIT.
|
protected |
Definition at line 1431 of file class.ilObjMediaPoolGUI.php.
References $main_tpl, ilObject2GUI\checkPermission(), getBulkUploadForm(), and ILIAS\UICore\GlobalTemplate\setContent().
ilObjMediaPoolGUI::cancelFolderUpdate | ( | ) |
Definition at line 1088 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 888 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
ilObjMediaPoolGUI::cancelSave | ( | ) |
Definition at line 1099 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, and ilCtrl\redirect().
ilObjMediaPoolGUI::confirmRemove | ( | ) |
confirm remove of mobs
Definition at line 793 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 910 of file class.ilObjMediaPoolGUI.php.
References 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 975 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), initFolderForm(), and ILIAS\UICore\GlobalTemplate\setContent().
ilObjMediaPoolGUI::createMediaObject | ( | ) |
Definition at line 480 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
ilObjMediaPoolGUI::edit | ( | ) |
Definition at line 494 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
ilObjMediaPoolGUI::editFolder | ( | ) |
Definition at line 985 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), getFolderValues(), initFolderForm(), and ILIAS\UICore\GlobalTemplate\setContent().
|
protected |
Definition at line 1539 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(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
ilObjMediaPoolGUI::executeCommand | ( | ) |
Definition at line 132 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ilObject2GUI\$ctrl, ilObject2GUI\$lng, $mep_item_id, ilObjectGUI\$object, $tabs, ilObject2GUI\$tpl, ilObjectGUI\$tree, ilObjectGUI\addHeaderAction(), afterPoolInsert(), afterUpload(), afterUrlSaving(), ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), finishSingleUpload(), getBulkUploadForm(), ilObject2GUI\getCreationMode(), ilObject\getId(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), getParentFolderId(), ilTree\getParentId(), getTemplate(), ilObject\getTitle(), infoScreen(), ilTree\insertNode(), ilMediaPoolItem\lookupForeignId(), null, ILIAS\Repository\object(), onMobUpdate(), ilObject2GUI\prepareOutput(), ilUtil\redirect(), ilPageObjectGUI\setAdvMdRecordObject(), ILIAS\UICore\GlobalTemplate\setContent(), setContentSubTabs(), ilObject2GUI\setCreationMode(), ilObject2GUI\setLocator(), setSettingsSubTabs(), ILIAS\MediaPool\InternalGUIService\settings(), ilLanguage\txt(), and ilMediaCreationGUI\TYPE_ALL.
ilObjMediaPoolGUI::export | ( | ) |
Definition at line 1415 of file class.ilObjMediaPoolGUI.php.
References ilObjectTranslation\getInstance(), ILIAS\Repository\object(), and ilUtil\stripSlashes().
ilObjMediaPoolGUI::finishSingleUpload | ( | int | $mob_id | ) |
Definition at line 1705 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
Referenced by executeCommand().
|
protected |
Definition at line 1441 of file class.ilObjMediaPoolGUI.php.
References $bulk_upload_form, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by bulkUpload(), and executeCommand().
ilObjMediaPoolGUI::getFolderValues | ( | ) |
Get current values for folder from.
Definition at line 999 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\form(), and ilMediaPoolItem\lookupTitle().
Referenced by editFolder().
|
protected |
Get media pool page.
Definition at line 752 of file class.ilObjMediaPoolGUI.php.
Referenced by showPage().
ilObjMediaPoolGUI::getParentFolderId | ( | ) |
Get folder parent ID.
Definition at line 652 of file class.ilObjMediaPoolGUI.php.
References null, and ILIAS\Repository\object().
Referenced by executeCommand().
|
static |
Get preview modal html.
Definition at line 1372 of file class.ilObjMediaPoolGUI.php.
References $DIC, ilObject2GUI\$html, ilObject2GUI\$lng, ilObjectGUI\$request, ilObject2GUI\$tpl, ILIAS\UICore\GlobalTemplate\addJavaScript(), ilObjMediaObjectGUI\includePresentationJS(), and ilLanguage\txt().
Referenced by ilMediaPoolTableGUI\getHTML().
ilObjMediaPoolGUI::getTemplate | ( | ) |
Get standard template.
Definition at line 643 of file class.ilObjMediaPoolGUI.php.
Referenced by executeCommand().
|
final |
Definition at line 122 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 1462 of file class.ilObjMediaPoolGUI.php.
References $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 1288 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ILIAS\Repository\tabs().
Referenced by executeCommand().
ilObjMediaPoolGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository
Definition at line 1278 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl().
ilObjMediaPoolGUI::initFolderForm | ( | string | $a_mode = "edit" | ) |
string | $a_mode | "edit" | "create" |
ilCtrlException |
Definition at line 1061 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 1584 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 869 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
ilObjMediaPoolGUI::listMedia | ( | ) |
list media objects
Definition at line 503 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ilObject2GUI\$ctrl, ilObject2GUI\$lng, $tabs, ilObject2GUI\$toolbar, ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ilSession\get(), ILIAS\UICore\GlobalTemplate\setContent(), setContentSubTabs(), and ilLanguage\txt().
Referenced by returnFromItem().
|
protected |
Definition at line 1632 of file class.ilObjMediaPoolGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilSession\set().
|
protected |
Definition at line 1710 of file class.ilObjMediaPoolGUI.php.
Referenced by executeCommand().
ilObjMediaPoolGUI::openClipboard | ( | ) |
paste from clipboard
Definition at line 845 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, and ilObject2GUI\checkPermission().
|
protected |
Definition at line 1639 of file class.ilObjMediaPoolGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilMediaPoolItem\lookupType(), and ILIAS\Repository\object().
ilObjMediaPoolGUI::performBulkUpload | ( | ) |
Save bulk upload form.
Definition at line 1532 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\checkPermission(), and ILIAS\Repository\ctrl().
ilObjMediaPoolGUI::remove | ( | ) |
Definition at line 893 of file class.ilObjMediaPoolGUI.php.
References ilObjectGUI\$obj_id, ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilObjMediaPoolGUI::resetFilter | ( | ) |
Definition at line 625 of file class.ilObjMediaPoolGUI.php.
References allMedia(), and ilMediaPoolTableGUI\IL_MEP_EDIT.
|
protected |
Return from item editing.
Definition at line 464 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 1011 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, $mep_item_id, ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), initFolderForm(), ILIAS\Repository\object(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
|
protected |
Definition at line 1606 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 1323 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, $tabs, ilObject2GUI\$toolbar, ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\UICore\GlobalTemplate\setContent(), SYSTEM_FOLDER_ID, and ilLanguage\txt().
ilObjMediaPoolGUI::setContentSubTabs | ( | string | $a_active | ) |
Set sub tabs for content tab.
Definition at line 1112 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 1215 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$access, ilObject2GUI\$lng, $tabs, ILIAS\Repository\ctrl(), and ilLanguage\txt().
Referenced by executeCommand().
|
protected |
Definition at line 1136 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 785 of file class.ilObjMediaPoolGUI.php.
References showMedia().
|
protected |
show media object
Definition at line 668 of file class.ilObjMediaPoolGUI.php.
References $params, ilObject2GUI\checkPermission(), ILIAS\Repository\ctrl(), ilObjStyleSheet\getContentStylePath(), ilUtil\getImagePath(), ilUtil\getStyleSheetLocation(), ilFileUtils\getWebspaceDir(), IL_MODE_ALIAS, IL_MODE_OUTPUT, ilObjMediaObjectGUI\includePresentationJS(), and ilObjMediaObject\isTypeAllowed().
Referenced by showFullscreen(), and showPreview().
ilObjMediaPoolGUI::showPage | ( | ) |
Show page.
Definition at line 722 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$tpl, ILIAS\UICore\GlobalTemplate\addCss(), exit, ilObjStyleSheet\getContentStylePath(), getMediaPoolPageGUI(), ilUtil\getStyleSheetLocation(), ilObjStyleSheet\getSyntaxStylePath(), ILIAS\UICore\GlobalTemplate\printToStdout(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by showPreview().
ilObjMediaPoolGUI::showPreview | ( | ) |
Show content snippet.
Definition at line 764 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\checkPermission(), showMedia(), and showPage().
|
protected |
Definition at line 557 of file class.ilObjMediaPoolGUI.php.
ilObjMediaPoolGUI::updateFolder | ( | ) |
Definition at line 1031 of file class.ilObjMediaPoolGUI.php.
References ilObject2GUI\$ctrl, ilObject2GUI\$lng, ilObject2GUI\$tpl, ilObject2GUI\checkPermission(), ILIAS\Repository\form(), initFolderForm(), ILIAS\Repository\object(), ILIAS\UICore\GlobalTemplate\setContent(), and ilLanguage\txt().
|
protected |
Definition at line 45 of file class.ilObjMediaPoolGUI.php.
Referenced by getBulkUploadForm().
|
protected |
Definition at line 43 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 47 of file class.ilObjMediaPoolGUI.php.
Referenced by initMediaBulkForm().
|
protected |
Definition at line 46 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 52 of file class.ilObjMediaPoolGUI.php.
Referenced by setTabs().
|
protected |
Definition at line 53 of file class.ilObjMediaPoolGUI.php.
Referenced by bulkUpload(), and editTitlesAndDescriptions().
|
protected |
Definition at line 49 of file class.ilObjMediaPoolGUI.php.
Referenced by addLocatorItems(), addMobsToPool(), executeCommand(), handleUploadResult(), and saveFolder().
|
protected |
Definition at line 55 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 50 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 48 of file class.ilObjMediaPoolGUI.php.
bool ilObjMediaPoolGUI::$output_prepared |
Definition at line 56 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 51 of file class.ilObjMediaPoolGUI.php.
Referenced by allMedia(), executeCommand(), listMedia(), selectUploadDirFiles(), setContentSubTabs(), setSettingsSubTabs(), and setTabs().
|
protected |
Definition at line 54 of file class.ilObjMediaPoolGUI.php.
|
protected |
Definition at line 44 of file class.ilObjMediaPoolGUI.php.