|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilObjMediaObjectGUI. More...
Inheritance diagram for ilObjMediaObjectGUI:
Collaboration diagram for ilObjMediaObjectGUI:Public Member Functions | |
| __construct ($a_data, $a_id=0, $a_call_by_reference=false, $a_prepare_output=false) | |
| setAdvMdRecordObject ($a_adv_ref_id, $a_adv_type, $a_adv_subtype="-") | |
| Set object, that defines the adv md records being used. More... | |
| getAdvMdRecordObject () | |
| Get adv md record type. More... | |
| setHeader ($a_title="") | |
| getHeader () | |
| setEnabledMapAreas ($a_enabledmapareas) | |
| Set Enable map areas. More... | |
| getEnabledMapAreas () | |
| Get Enable map areas. More... | |
| setWidthPreset ($a_val) | |
| Set width preset. More... | |
| getWidthPreset () | |
| Get width preset. More... | |
| setHeightPreset ($a_val) | |
| Set height preset. More... | |
| getHeightPreset () | |
| Get height preset. More... | |
| getForm () | |
| Get form. More... | |
| assignObject () | |
| returnToContextObject () | |
| executeCommand () | |
| Execute current command. More... | |
| setBackTitle ($a_title) | |
| set title for back tab More... | |
| createObject () | |
| create new media object form More... | |
| initForm ($a_mode="create") | |
| Init creation form. More... | |
| getValues () | |
| Get values for form. More... | |
| saveObject () | |
| create new media object in dom and update page in db More... | |
| checkFormInput () | |
| chechInputForm More... | |
| cancelObject () | |
| Cancel saving. More... | |
| editObject () | |
| edit media object properties More... | |
| resizeImagesObject () | |
| resize images to specified size More... | |
| getStandardSizeObject () | |
| set original size of standard file More... | |
| getFullscreenSizeObject () | |
| set original size of fullscreen file More... | |
| savePropertiesObject () | |
| save properties in db and return to page edit screen More... | |
| editFilesObject () | |
| administrate files of media object More... | |
| createDirectoryObject () | |
| create directory More... | |
| uploadFileObject () | |
| upload file More... | |
| assignStandardObject ($a_file) | |
| assign file to standard view More... | |
| assignFullscreenObject ($a_file) | |
| assign file to fullscreen view More... | |
| removeFullscreenObject () | |
| remove fullscreen view More... | |
| addFullscreenObject () | |
| add fullscreen view More... | |
| deleteFileObject () | |
| delete object file More... | |
| showAllUsagesObject () | |
| Show all media object usages (incl history) More... | |
| showUsagesObject ($a_all=false) | |
| show all usages of mob More... | |
| setTabs () | |
| set admin tabs More... | |
| getTabs () | |
| Get Tabs. More... | |
| showVideoToolObject () | |
| Show video tools. More... | |
| setPropertiesSubTabs ($a_active) | |
| Set subtabs for properties. More... | |
| listSubtitleFilesObject () | |
| List subtitls files. More... | |
| uploadSubtitleFileObject () | |
| Upload srt file. More... | |
| confirmSrtDeletionObject () | |
| Confirm srt file deletion. More... | |
| deleteSrtFilesObject () | |
| Delete srt files. More... | |
| uploadMultipleSubtitleFileFormObject () | |
| Upload multiple stubtitles. More... | |
| uploadMultipleSubtitleFileObject () | |
| Upload multiple subtitles. More... | |
| showMultiSubtitleConfirmationTableObject () | |
| List of srt files in zip file. More... | |
| cancelMultiSrtObject () | |
| Cancel Multi Feedback. More... | |
| saveMultiSrtObject () | |
| Save selected srt files as new srt files. More... | |
Public Member Functions inherited from ilObjectGUI | |
| executeCommand () | |
| execute command More... | |
| withReferences () | |
| determines wether objects are referenced or not (got ref ids or not) More... | |
| setCreationMode ($a_mode=true) | |
| if true, a creation screen is displayed the current $_GET[ref_id] don't belong to the current class! the mode is determined in ilrepositorygui More... | |
| getCreationMode () | |
| get creation mode More... | |
| prepareOutput ($a_show_subobjects=true) | |
| prepare output More... | |
| getAdminTabs () | |
| administration tabs show only permissions and trash folder More... | |
| getHTML () | |
| confirmedDeleteObject () | |
| confirmed deletion of object -> objects are moved to trash or deleted immediately, if trash is disabled More... | |
| cancelDeleteObject () | |
| cancel deletion of object More... | |
| cancelObject () | |
| cancel action and go back to previous page @access public More... | |
| createObject () | |
| create new object form More... | |
| cancelCreation () | |
| cancel create action and go back to repository parent More... | |
| saveObject () | |
| save object More... | |
| getDidacticTemplateVar ($a_type) | |
| Get didactic template setting from creation screen. More... | |
| putObjectInTree (ilObject $a_obj, $a_parent_node_id=null) | |
| Add object to tree at given position. More... | |
| editObject () | |
| edit object More... | |
| addExternalEditFormCustom (ilPropertyFormGUI $a_form) | |
| updateObject () | |
| updates object entry in object_data More... | |
| getFormAction ($a_cmd, $a_formaction="") | |
| get form action for command (command is method name without "Object", e.g. More... | |
| isVisible ($a_ref_id, $a_type) | |
| viewObject () | |
| viewObject container presentation for "administration -> repository, trash, permissions" More... | |
| deleteObject ($a_error=false) | |
| Display deletion confirmation screen. More... | |
| cloneAllObject () | |
| Clone single (not container object) Method is overwritten in ilContainerGUI. More... | |
| redirectAfterCreation () | |
| Redirect after creation, see https://docu.ilias.de/goto_docu_wiki_wpage_5035_1357.html. More... | |
| addToDeskObject () | |
| @inheritDoc More... | |
| removeFromDeskObject () | |
| @inheritDoc More... | |
Public Member Functions inherited from ILIAS\Object\ImplementsCreationCallback | |
| callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Static Public Member Functions | |
| static | setObjectPerCreationForm ($a_mob) |
| Set media object values from creation form. More... | |
| static | _getMediaInfoHTML (&$a_mob) |
| get media info as html More... | |
| static | includePresentationJS ($a_tpl=null) |
| Include media object presentation JS. More... | |
Static Public Member Functions inherited from ilObjectGUI | |
| static | _gotoRepositoryRoot ($a_raise_error=false) |
| Goto repository root. More... | |
| static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
| Goto repository root. More... | |
Data Fields | |
| $ctrl | |
| $header | |
| $target_script | |
| $enabledmapareas = true | |
Data Fields inherited from ilObjectGUI | |
| const | ALLOWED_TAGS_IN_TITLE_AND_DESCRIPTION |
| const | COPY_WIZARD_NEEDS_PAGE = 1 |
| $objDefinition | |
| $tpl | |
| $tree | |
| $lng | |
| $data | |
| $object | |
| $ref_id | |
| $obj_id | |
| $maxcount | |
| $formaction | |
| $return_location | |
| $target_frame | |
| $tab_target_script | |
| $actions | |
| $sub_objects | |
| $omit_locator = false | |
| const | CFORM_NEW = 1 |
| const | CFORM_IMPORT = 2 |
| const | CFORM_CLONE = 3 |
Protected Member Functions | |
| checkFixSize () | |
| Check fix size. More... | |
Protected Member Functions inherited from ilObjectGUI | |
| getObjectService () | |
| Get object service. More... | |
| assignObject () | |
| setTitleAndDescription () | |
| called by prepare output More... | |
| initHeaderAction ($a_sub_type=null, $a_sub_id=null) | |
| Add header action menu. More... | |
| insertHeaderAction ($a_list_gui) | |
| Insert header action into main template. More... | |
| addHeaderAction () | |
| Add header action menu. More... | |
| redrawHeaderActionObject () | |
| Ajax call: redraw action header only. More... | |
| setTabs () | |
| set admin tabs @access public More... | |
| setAdminTabs () | |
| set admin tabs @access public More... | |
| setLocator () | |
| set Locator More... | |
| addLocatorItems () | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| omitLocator ($a_omit=true) | |
| addAdminLocatorItems ($a_do_not_add_object=false) | |
| should be overwritten to add object specific items (repository items are preloaded) More... | |
| initCreationForms ($a_new_type) | |
| Init creation froms. More... | |
| getCreationFormsHTML (array $a_forms) | |
| Get HTML for creation forms (accordion) More... | |
| initCreateForm ($a_new_type) | |
| Init object creation form. More... | |
| initDidacticTemplate (ilPropertyFormGUI $form) | |
| Show didactic template types. More... | |
| addDidacticTemplateOptions (array &$a_options) | |
| Add custom templates. More... | |
| afterSave (ilObject $a_new_object) | |
| Post (successful) object creation hook. More... | |
| initEditForm () | |
| Init object edit form. More... | |
| initEditCustomForm (ilPropertyFormGUI $a_form) | |
| Add custom fields to update form. More... | |
| getEditFormValues () | |
| Get values for edit form. More... | |
| getEditFormCustomValues (array &$a_values) | |
| Add values to custom edit fields. More... | |
| validateCustom (ilPropertyFormGUI $a_form) | |
| Validate custom values (if not possible with checkInput()) More... | |
| updateCustom (ilPropertyFormGUI $a_form) | |
| Insert custom update form values into object. More... | |
| afterUpdate () | |
| Post (successful) object update hook. More... | |
| initImportForm ($a_new_type) | |
| Init object import form. More... | |
| importFileObject ($parent_id=null, $a_catch_errors=true) | |
| Import. More... | |
| afterImport (ilObject $a_new_object) | |
| Post (successful) object import hook. More... | |
| setFormAction ($a_cmd, $a_formaction) | |
| set specific form action for command More... | |
| getReturnLocation ($a_cmd, $a_location="") | |
| get return location for command (command is method name without "Object", e.g. More... | |
| setReturnLocation ($a_cmd, $a_location) | |
| set specific return location for command More... | |
| getTargetFrame ($a_cmd, $a_target_frame="") | |
| get target frame for command (command is method name without "Object", e.g. More... | |
| setTargetFrame ($a_cmd, $a_target_frame) | |
| set specific target frame for command More... | |
| showPossibleSubObjects () | |
| show possible subobjects (pulldown menu) More... | |
| getTemplateFile ($a_cmd, $a_type="") | |
| get a template blockfile format: tpl. More... | |
| getTabs () | |
| get tabs abstract method. More... | |
| __showButton ($a_cmd, $a_text, $a_target='') | |
| hitsperpageObject () | |
| & | __initTableGUI () |
| __setTableGUIBasicData (&$tbl, &$result_set, $a_from="") | |
| standard implementation for tables use 'from' variable use different initial setting of table More... | |
| redirectToRefId ($a_ref_id, $a_cmd="") | |
| redirects to (repository) view per ref id usually to a container and usually used at the end of a save/import method where the object gui type (of the new object) doesn't match with the type of the current $_GET["ref_id"] value More... | |
| fillCloneTemplate ($a_tpl_varname, $a_type) | |
| Fill object clone template This method can be called from any object GUI class that wants to offer object cloning. More... | |
| getCenterColumnHTML () | |
| Get center column. More... | |
| getRightColumnHTML () | |
| Display right column. More... | |
| setColumnSettings (ilColumnGUI $column_gui) | |
| May be overwritten in subclasses. More... | |
| checkPermission ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission and redirect on error. More... | |
| checkPermissionBool ($a_perm, $a_cmd="", $a_type="", $a_ref_id=null) | |
| Check permission. More... | |
| enableDragDropFileUpload () | |
| Enables the file upload into this object by dropping files. More... | |
| handleAutoRating (ilObject $a_new_obj) | |
| Activate rating automatically if parent container setting. More... | |
Protected Attributes | |
| $access | |
| $error | |
| $help | |
| $tabs | |
| $toolbar | |
| $user | |
| $adv_ref_id = null | |
| $adv_type = null | |
| $adv_subtype = null | |
| $media_type | |
Protected Attributes inherited from ilObjectGUI | |
| const | UPLOAD_TYPE_LOCAL = 1 |
| const | UPLOAD_TYPE_UPLOAD_DIRECTORY = 2 |
| $ilErr | |
| $locator | |
| $user | |
| $access | |
| $rbacsystem | |
| $settings | |
| $rbacreview | |
| $toolbar | |
| $tmp_import_dir | |
| $tabs_gui = null | |
| $ctrl | |
| $object_service | |
| $favourites | |
| $request | |
Class ilObjMediaObjectGUI.
Editing User Interface for MediaObjects within LMs (see ILIAS DTD)
Definition at line 19 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::__construct | ( | $a_data, | |
$a_id = 0, |
|||
$a_call_by_reference = false, |
|||
$a_prepare_output = false |
|||
| ) |
Definition at line 77 of file class.ilObjMediaObjectGUI.php.
References $DIC, ilObjectGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), error(), help(), and user().
Here is the call graph for this function:
|
static |
get media info as html
Definition at line 1706 of file class.ilObjMediaObjectGUI.php.
References $DIC, ilObjectGUI\$lng, $size, ilObjectGUI\$tpl, $type, ilObjMediaObject\_getDirectory(), and ilMDKeyword\lookupKeywords().
Referenced by ilMediaPoolTableGUI\fillRow(), and ilClipboardTableGUI\fillRow().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaObjectGUI::addFullscreenObject | ( | ) |
add fullscreen view
Definition at line 1566 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::assignFullscreenObject | ( | $a_file | ) |
assign file to fullscreen view
Definition at line 1511 of file class.ilObjMediaObjectGUI.php.
References $format, $location, ilObjMediaObject\getMimeType(), and ilUtil\getWebspaceDir().
Here is the call graph for this function:| ilObjMediaObjectGUI::assignObject | ( | ) |
Reimplemented from ilObjectGUI.
Definition at line 207 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::assignStandardObject | ( | $a_file | ) |
assign file to standard view
Definition at line 1482 of file class.ilObjMediaObjectGUI.php.
References $format, $location, ilObjMediaObject\getMimeType(), and ilUtil\getWebspaceDir().
Here is the call graph for this function:| ilObjMediaObjectGUI::cancelMultiSrtObject | ( | ) |
Cancel Multi Feedback.
Definition at line 2136 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::cancelObject | ( | ) |
Cancel saving.
Reimplemented from ilObjectGUI.
Definition at line 910 of file class.ilObjMediaObjectGUI.php.
|
protected |
Check fix size.
return
Definition at line 596 of file class.ilObjMediaObjectGUI.php.
References ilUtil\sendFailure().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaObjectGUI::checkFormInput | ( | ) |
chechInputForm
return
Definition at line 721 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::confirmSrtDeletionObject | ( | ) |
Confirm srt file deletion.
Definition at line 2035 of file class.ilObjMediaObjectGUI.php.
References $_POST, $ctrl, $i, ilObjectGUI\$lng, ilObjectGUI\$tpl, and ilUtil\sendInfo().
Here is the call graph for this function:| ilObjMediaObjectGUI::createDirectoryObject | ( | ) |
create directory
Definition at line 1431 of file class.ilObjMediaObjectGUI.php.
References $_GET, $_POST, ilUtil\getWebspaceDir(), and ilUtil\makeDir().
Here is the call graph for this function:| ilObjMediaObjectGUI::createObject | ( | ) |
create new media object form
Reimplemented from ilObjectGUI.
Definition at line 309 of file class.ilObjMediaObjectGUI.php.
References $help, ilObjectGUI\$tpl, and initForm().
Here is the call graph for this function:| ilObjMediaObjectGUI::deleteFileObject | ( | ) |
delete object file
Definition at line 1592 of file class.ilObjMediaObjectGUI.php.
References $_GET, $_POST, $location, ilUtil\delDir(), and ilUtil\getWebspaceDir().
Here is the call graph for this function:| ilObjMediaObjectGUI::deleteSrtFilesObject | ( | ) |
Delete srt files.
Definition at line 2065 of file class.ilObjMediaObjectGUI.php.
References $_POST, $ctrl, $i, and ilObjectGUI\$lng.
| ilObjMediaObjectGUI::editFilesObject | ( | ) |
administrate files of media object
Definition at line 1263 of file class.ilObjMediaObjectGUI.php.
References $_GET, $cols, $i, ilUtil\getDir(), ilUtil\getImagePath(), ilUtil\getWebspaceDir(), and ilUtil\switchColor().
Here is the call graph for this function:| ilObjMediaObjectGUI::editObject | ( | ) |
edit media object properties
Reimplemented from ilObjectGUI.
Definition at line 918 of file class.ilObjMediaObjectGUI.php.
References ilObjectGUI\$tpl, getValues(), initForm(), and setPropertiesSubTabs().
Here is the call graph for this function:| ilObjMediaObjectGUI::executeCommand | ( | ) |
Execute current command.
| ilCtrlException |
Reimplemented from ilObjectGUI.
Definition at line 225 of file class.ilObjMediaObjectGUI.php.
References $_POST, $access, $error, ilObjectGUI\$ilErr, $ret, ilObjectGUI\$tpl, ilObjMediaObject\_getDirectory(), checkFixSize(), ilObjMediaObject\getForbiddenFileTypes(), ilObjMediaObject\getRestrictedFileTypes(), ilUtil\getWebspaceDir(), ilObjMediaObject\renameExecutables(), and ilMediaSvgSanitizer\sanitizeDir().
Here is the call graph for this function:| ilObjMediaObjectGUI::getAdvMdRecordObject | ( | ) |
Get adv md record type.
Definition at line 119 of file class.ilObjMediaObjectGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, and ilObjectGUI\$ref_id.
| ilObjMediaObjectGUI::getEnabledMapAreas | ( | ) |
Get Enable map areas.
Definition at line 152 of file class.ilObjMediaObjectGUI.php.
References $enabledmapareas.
Referenced by getTabs().
Here is the caller graph for this function:| ilObjMediaObjectGUI::getForm | ( | ) |
Get form.
Definition at line 202 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::getFullscreenSizeObject | ( | ) |
set original size of fullscreen file
Definition at line 999 of file class.ilObjMediaObjectGUI.php.
References $size, ilObjMediaObject\_getDirectory(), and ilMediaImageUtil\getImageSize().
Here is the call graph for this function:| ilObjMediaObjectGUI::getHeader | ( | ) |
| ilObjMediaObjectGUI::getHeightPreset | ( | ) |
Get height preset.
Definition at line 192 of file class.ilObjMediaObjectGUI.php.
Referenced by initForm().
Here is the caller graph for this function:| ilObjMediaObjectGUI::getStandardSizeObject | ( | ) |
set original size of standard file
Definition at line 977 of file class.ilObjMediaObjectGUI.php.
References $size, ilObjMediaObject\_getDirectory(), and ilMediaImageUtil\getImageSize().
Here is the call graph for this function:| ilObjMediaObjectGUI::getTabs | ( | ) |
Get Tabs.
Reimplemented from ilObjectGUI.
Definition at line 1812 of file class.ilObjMediaObjectGUI.php.
References $format, $help, and getEnabledMapAreas().
Referenced by setTabs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaObjectGUI::getValues | ( | ) |
Get values for form.
Definition at line 609 of file class.ilObjMediaObjectGUI.php.
Referenced by editObject().
Here is the caller graph for this function:| ilObjMediaObjectGUI::getWidthPreset | ( | ) |
Get width preset.
Definition at line 172 of file class.ilObjMediaObjectGUI.php.
Referenced by initForm().
Here is the caller graph for this function:
|
static |
Include media object presentation JS.
Definition at line 1921 of file class.ilObjMediaObjectGUI.php.
References $DIC, ilObjectGUI\$tpl, iljQueryUtil\getLocalMaphilightPath(), and ilPlayerUtil\initMediaElementJs().
Referenced by ilPageObjectGUI\displayMedia(), ilImageMapEditorGUI\executeCommand(), ilObjMediaPoolGUI\getPreviewModalHTML(), ilLMPresentationGUI\ilMedia(), ilObjMediaPoolGUI\showMedia(), and ilPageObjectGUI\showPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaObjectGUI::initForm | ( | $a_mode = "create" | ) |
Init creation form.
Definition at line 322 of file class.ilObjMediaObjectGUI.php.
References $ctrl, $format, ilObjectGUI\$lng, ilObjMediaObject\getForbiddenFileTypes(), getHeightPreset(), ilObjMediaObject\getRestrictedFileTypes(), and getWidthPreset().
Referenced by createObject(), editObject(), saveObject(), and savePropertiesObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaObjectGUI::listSubtitleFilesObject | ( | ) |
List subtitls files.
return
Definition at line 1978 of file class.ilObjMediaObjectGUI.php.
References $ctrl, $ilUser, ilObjectGUI\$lng, $si, $toolbar, ilObjectGUI\$tpl, $user, ilMDLanguageItem\_getLanguages(), and setPropertiesSubTabs().
Here is the call graph for this function:| ilObjMediaObjectGUI::removeFullscreenObject | ( | ) |
remove fullscreen view
Definition at line 1554 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::resizeImagesObject | ( | ) |
resize images to specified size
Definition at line 933 of file class.ilObjMediaObjectGUI.php.
References $location, ilObjMediaObject\_getDirectory(), and ilObjMediaObject\_resizeImage().
Here is the call graph for this function:| ilObjMediaObjectGUI::returnToContextObject | ( | ) |
Definition at line 214 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::saveMultiSrtObject | ( | ) |
Save selected srt files as new srt files.
Definition at line 2145 of file class.ilObjMediaObjectGUI.php.
References $_POST, $ctrl, and Vendor\Package\$f.
| ilObjMediaObjectGUI::saveObject | ( | ) |
create new media object in dom and update page in db
Reimplemented from ilObjectGUI.
Definition at line 697 of file class.ilObjMediaObjectGUI.php.
References ilObjectGUI\$lng, ilObjectGUI\$object, ilObjectGUI\$tpl, initForm(), and setObjectPerCreationForm().
Here is the call graph for this function:| ilObjMediaObjectGUI::savePropertiesObject | ( | ) |
save properties in db and return to page edit screen
Definition at line 1018 of file class.ilObjMediaObjectGUI.php.
References $_POST, $format, ilObjectGUI\$lng, $location, ilObjectGUI\$tpl, $type, ilObjMediaObject\_determineWidthHeight(), ilObjMediaObject\_getDirectory(), ilObjMediaObject\_resizeImage(), ilObjMediaObject\fixFilename(), ilObjMediaObject\getMimeType(), initForm(), ilUtil\moveUploadedFile(), ilObjMediaObject\renameExecutables(), ilMediaSvgSanitizer\sanitizeDir(), ilUtil\secureLink(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilObjMediaObjectGUI::setAdvMdRecordObject | ( | $a_adv_ref_id, | |
| $a_adv_type, | |||
$a_adv_subtype = "-" |
|||
| ) |
Set object, that defines the adv md records being used.
Default is $this->object, but the context may set another object (e.g. media pool for media objects)
| string | $a_val | adv type |
Definition at line 107 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::setBackTitle | ( | $a_title | ) |
set title for back tab
Definition at line 301 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::setEnabledMapAreas | ( | $a_enabledmapareas | ) |
Set Enable map areas.
| boolean | $a_enabledmapareas | Enable map areas |
Definition at line 142 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::setHeader | ( | $a_title = "" | ) |
Definition at line 127 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::setHeightPreset | ( | $a_val | ) |
Set height preset.
| int | height preset |
Definition at line 182 of file class.ilObjMediaObjectGUI.php.
|
static |
Set media object values from creation form.
Definition at line 734 of file class.ilObjMediaObjectGUI.php.
References $_POST, $format, $location, $type, ilObjMediaObject\_determineWidthHeight(), ilObjMediaObject\_getDirectory(), ilObjMediaObject\_resizeImage(), ilObjMediaObject\fixFilename(), ilObjMediaObject\getMimeType(), ilUtil\moveUploadedFile(), ilObjMediaObject\renameExecutables(), ilMediaSvgSanitizer\sanitizeDir(), ilUtil\secureLink(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
Referenced by ilPCMediaObjectGUI\create(), ILIAS\COPage\Editor\Components\MediaObject\MediaObjectCommandActionHandler\insertCommand(), and saveObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjMediaObjectGUI::setPropertiesSubTabs | ( | $a_active | ) |
Set subtabs for properties.
| string | $a_active | active tab id |
Definition at line 1946 of file class.ilObjMediaObjectGUI.php.
References $ctrl, ilObjectGUI\$lng, and $tabs.
Referenced by editObject(), listSubtitleFilesObject(), showMultiSubtitleConfirmationTableObject(), and uploadMultipleSubtitleFileFormObject().
Here is the caller graph for this function:| ilObjMediaObjectGUI::setTabs | ( | ) |
set admin tabs
Reimplemented from ilObjectGUI.
Definition at line 1790 of file class.ilObjMediaObjectGUI.php.
References ilUtil\getImagePath(), and getTabs().
Here is the call graph for this function:| ilObjMediaObjectGUI::setWidthPreset | ( | $a_val | ) |
Set width preset.
| int | width preset |
Definition at line 162 of file class.ilObjMediaObjectGUI.php.
| ilObjMediaObjectGUI::showAllUsagesObject | ( | ) |
Show all media object usages (incl history)
Definition at line 1656 of file class.ilObjMediaObjectGUI.php.
References showUsagesObject().
Here is the call graph for this function:| ilObjMediaObjectGUI::showMultiSubtitleConfirmationTableObject | ( | ) |
List of srt files in zip file.
Definition at line 2122 of file class.ilObjMediaObjectGUI.php.
References ilObjectGUI\$tpl, and setPropertiesSubTabs().
Here is the call graph for this function:| ilObjMediaObjectGUI::showUsagesObject | ( | $a_all = false | ) |
show all usages of mob
Definition at line 1665 of file class.ilObjMediaObjectGUI.php.
References $ctrl, ilObjectGUI\$lng, $tabs, and ilObjectGUI\$tpl.
Referenced by showAllUsagesObject().
Here is the caller graph for this function:| ilObjMediaObjectGUI::showVideoToolObject | ( | ) |
Show video tools.
return
Definition at line 1902 of file class.ilObjMediaObjectGUI.php.
References $formats, ilObjectGUI\$tpl, and ilFFmpeg\getSupportedFormatsInfo().
Here is the call graph for this function:| ilObjMediaObjectGUI::uploadFileObject | ( | ) |
upload file
Definition at line 1454 of file class.ilObjMediaObjectGUI.php.
References $_GET, ilObjMediaObject\fixFilename(), ilUtil\getWebspaceDir(), ilUtil\moveUploadedFile(), ilObjMediaObject\renameExecutables(), and ilMediaSvgSanitizer\sanitizeDir().
Here is the call graph for this function:| ilObjMediaObjectGUI::uploadMultipleSubtitleFileFormObject | ( | ) |
Upload multiple stubtitles.
return
Definition at line 2085 of file class.ilObjMediaObjectGUI.php.
References $ctrl, ilObjectGUI\$lng, $toolbar, ilUtil\sendInfo(), and setPropertiesSubTabs().
Here is the call graph for this function:| ilObjMediaObjectGUI::uploadMultipleSubtitleFileObject | ( | ) |
Upload multiple subtitles.
Definition at line 2108 of file class.ilObjMediaObjectGUI.php.
References Vendor\Package\$e, ilUtil\sendFailure(), and ilUtil\stripSlashesArray().
Here is the call graph for this function:| ilObjMediaObjectGUI::uploadSubtitleFileObject | ( | ) |
Upload srt file.
return
Definition at line 2021 of file class.ilObjMediaObjectGUI.php.
References $_POST, $ctrl, ilObjectGUI\$lng, and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Definition at line 24 of file class.ilObjMediaObjectGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 57 of file class.ilObjMediaObjectGUI.php.
Referenced by getAdvMdRecordObject().
|
protected |
Definition at line 65 of file class.ilObjMediaObjectGUI.php.
Referenced by getAdvMdRecordObject().
|
protected |
Definition at line 61 of file class.ilObjMediaObjectGUI.php.
Referenced by getAdvMdRecordObject().
| ilObjMediaObjectGUI::$ctrl |
Definition at line 72 of file class.ilObjMediaObjectGUI.php.
Referenced by confirmSrtDeletionObject(), deleteSrtFilesObject(), initForm(), listSubtitleFilesObject(), saveMultiSrtObject(), setPropertiesSubTabs(), showUsagesObject(), uploadMultipleSubtitleFileFormObject(), and uploadSubtitleFileObject().
| ilObjMediaObjectGUI::$enabledmapareas = true |
Definition at line 75 of file class.ilObjMediaObjectGUI.php.
Referenced by getEnabledMapAreas().
|
protected |
Definition at line 29 of file class.ilObjMediaObjectGUI.php.
Referenced by executeCommand().
| ilObjMediaObjectGUI::$header |
Definition at line 73 of file class.ilObjMediaObjectGUI.php.
Referenced by getHeader().
|
protected |
Definition at line 34 of file class.ilObjMediaObjectGUI.php.
Referenced by createObject(), and getTabs().
|
protected |
Definition at line 70 of file class.ilObjMediaObjectGUI.php.
|
protected |
Definition at line 39 of file class.ilObjMediaObjectGUI.php.
Referenced by setPropertiesSubTabs(), and showUsagesObject().
| ilObjMediaObjectGUI::$target_script |
Definition at line 74 of file class.ilObjMediaObjectGUI.php.
|
protected |
Definition at line 44 of file class.ilObjMediaObjectGUI.php.
Referenced by listSubtitleFilesObject(), and uploadMultipleSubtitleFileFormObject().
|
protected |
Definition at line 49 of file class.ilObjMediaObjectGUI.php.
Referenced by listSubtitleFilesObject().