ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilObjMediaCastGUI. More...
Public Member Functions | |
__construct ($a_data, $a_id, $a_call_by_reference, $a_prepare_output=true) | |
Constructor public. More... | |
executeCommand () | |
afterSave (ilObject $newObj) | |
save object public More... | |
listItemsObject ($a_presentation_mode=false) | |
List items of media cast. More... | |
getFeedIconsHTML () | |
Get feed icons HTML. More... | |
addCastItemObject () | |
Add media cast item. More... | |
editCastItemObject () | |
Edit media cast item. More... | |
initAddCastItemForm ($a_mode="create") | |
Init add cast item form. More... | |
getCastItemValues () | |
Get cast item values into form. More... | |
saveCastItemObject () | |
Save new cast item. More... | |
updateCastItemObject () | |
Update cast item. More... | |
confirmDeletionItemsObject () | |
Confirmation Screen. More... | |
deleteItemsObject () | |
Delete news items. More... | |
downloadItemObject () | |
Download news media item. More... | |
determinePlaytimeObject () | |
Delete news items. More... | |
infoScreenObject () | |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed More... | |
infoScreen () | |
show information screen More... | |
setTabs () | |
get tabs public More... | |
addContentSubTabs ($a_active="content") | |
Add content subtabs. More... | |
editSettingsObject () | |
Edit settings. More... | |
initSettingsForm () | |
Init Settings Form. More... | |
saveSettingsObject () | |
Save Settings. More... | |
addLocatorItems () | |
saveOrderObject () | |
showContentObject () | |
Show content. More... | |
showGallery () | |
convertFileObject () | |
Convert file object. More... | |
extractPreviewImageObject () | |
Extract preview image. More... | |
handlePlayerEventObject () | |
Handle player event. More... | |
![]() | |
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 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 () | |
removeFromDeskObject () | |
![]() | |
callCreationCallback (\ilObject $object, \ilObjectDefinition $obj_definition, int $requested_crtcb) | |
Static Public Member Functions | |
static | _goto ($a_target) |
![]() | |
static | _gotoRepositoryRoot ($a_raise_error=false) |
Goto repository root. More... | |
static | _gotoRepositoryNode ($a_ref_id, $a_cmd="frameset") |
Goto repository root. More... | |
Protected Member Functions | |
initCreationForms ($a_new_type) | |
getMediaItem ($id) | |
get MediaItem for id and updates local variable mcst_item More... | |
getMediaItems ($id) | |
get MediaItems for id and updates local variable mcst_item More... | |
editOrderObject () | |
handlePlayerCompletedEventObject () | |
afterUpload ($mob_id) | |
After mob upload. More... | |
afterUrlSaving ($mob_id, $long_desc) | |
After mob upload. More... | |
addMobsToCast ($mob_ids, $long_desc="") | |
After mob upload. More... | |
afterPoolInsert ($mob_ids) | |
After pool insert. More... | |
handleAutoplayTriggerObject () | |
![]() | |
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 public More... | |
setAdminTabs () | |
set admin tabs 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... | |
Static Protected Member Functions | |
static | isAudio ($extension) |
detect audio mimetype More... | |
Protected Attributes | |
$tabs | |
$log | |
$error | |
$help | |
$filesystem | |
![]() | |
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 | |
Private Member Functions | |
getDuration ($file) | |
get duration from form or from file analyzer More... | |
createMediaItemForPurpose ($mob, $purpose) | |
handle media item for given purpose More... | |
updateMediaItem ($mob, &$mediaItem) | |
update media item from form More... | |
populateFormFromPost () | |
Private Attributes | |
$additionalPurposes = [] | |
$purposeSuffixes = array() | |
$mimeTypes = array() | |
Additional Inherited Members | |
![]() | |
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 |
Class ilObjMediaCastGUI.
ilObjMediaCastGUI: ilPermissionGUI, ilInfoScreenGUI, ilExportGUI ilObjMediaCastGUI: ilCommonActionDispatcherGUI, ilMediaCreationGUI ilObjMediaCastGUI: ilLearningProgressGUI, ilObjectCopyGUI ilObjMediaCastGUI: ilRepositoryGUI, ilAdministrationGUI
Definition at line 23 of file class.ilObjMediaCastGUI.php.
ilObjMediaCastGUI::__construct | ( | $a_data, | |
$a_id, | |||
$a_call_by_reference, | |||
$a_prepare_output = true |
|||
) |
Constructor public.
Definition at line 59 of file class.ilObjMediaCastGUI.php.
References $DIC, ilObjectGUI\$lng, ilObjectGUI\$settings, ILIAS\GlobalScreen\Provider\__construct(), ilMediaCastSettings\_getInstance(), ilMimeTypeUtil\getExt2MimeMap(), help(), and user().
|
static |
Definition at line 1416 of file class.ilObjMediaCastGUI.php.
References $_GET, $DIC, ilObjectGUI\$ilErr, ilObjectGUI\$lng, ilObjectGUI\_gotoRepositoryNode(), ilObjectGUI\_gotoRepositoryRoot(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, ROOT_FOLDER_ID, and ilUtil\sendFailure().
ilObjMediaCastGUI::addCastItemObject | ( | ) |
Add media cast item.
Definition at line 348 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and initAddCastItemForm().
ilObjMediaCastGUI::addContentSubTabs | ( | $a_active = "content" | ) |
Add content subtabs.
Definition at line 1153 of file class.ilObjMediaCastGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$lng, $tabs, and ilObjMediaCast\ORDER_MANUAL.
Referenced by editOrderObject(), executeCommand(), listItemsObject(), and showGallery().
ilObjMediaCastGUI::addLocatorItems | ( | ) |
Definition at line 1407 of file class.ilObjMediaCastGUI.php.
References $_GET, and ilObjectGUI\$locator.
|
protected |
After mob upload.
array | $mob_ids | |
string | $long_desc |
Definition at line 1856 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\$ctrl, and ilObjectGUI\$user.
Referenced by afterPoolInsert(), afterUpload(), and afterUrlSaving().
|
protected |
After pool insert.
$mob_ids |
Definition at line 1879 of file class.ilObjMediaCastGUI.php.
References addMobsToCast().
Referenced by executeCommand().
ilObjMediaCastGUI::afterSave | ( | ilObject | $newObj | ) |
save object public
Definition at line 211 of file class.ilObjMediaCastGUI.php.
References ilObject\getRefId(), and ilUtil\redirect().
|
protected |
After mob upload.
$mob_id |
Definition at line 1832 of file class.ilObjMediaCastGUI.php.
References addMobsToCast().
Referenced by executeCommand().
|
protected |
After mob upload.
$mob_id | |
$long_desc |
Definition at line 1846 of file class.ilObjMediaCastGUI.php.
References addMobsToCast().
Referenced by executeCommand().
ilObjMediaCastGUI::confirmDeletionItemsObject | ( | ) |
Confirmation Screen.
Definition at line 919 of file class.ilObjMediaCastGUI.php.
References $_POST, ilObjectGUI\$ctrl, ilObjectGUI\$lng, $tabs, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), ilUtil\getImagePath(), and listItemsObject().
ilObjMediaCastGUI::convertFileObject | ( | ) |
Convert file object.
Definition at line 1686 of file class.ilObjMediaCastGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, Vendor\Package\$e, $ret, ilObjMediaObject\_getDirectory(), ilObjectGUI\checkPermission(), ilFFmpeg\convert(), ilFFmpeg\getLastReturnValues(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilUtil\stripSlashes().
|
private |
handle media item for given purpose
ilMediaObject | $mob | |
string | file |
Definition at line 736 of file class.ilObjMediaCastGUI.php.
References updateMediaItem().
Referenced by saveCastItemObject(), and updateCastItemObject().
ilObjMediaCastGUI::deleteItemsObject | ( | ) |
Delete news items.
Definition at line 961 of file class.ilObjMediaCastGUI.php.
References $_POST, ilObjectGUI\$ctrl, and ilObjectGUI\checkPermission().
ilObjMediaCastGUI::determinePlaytimeObject | ( | ) |
Delete news items.
Definition at line 996 of file class.ilObjMediaCastGUI.php.
References $_GET, ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjMediaObject\_getDirectory(), getDuration(), and ilUtil\sendFailure().
ilObjMediaCastGUI::downloadItemObject | ( | ) |
Download news media item.
Definition at line 979 of file class.ilObjMediaCastGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilUser, ilObjectGUI\$user, ilObjectGUI\checkPermission(), and exit.
ilObjMediaCastGUI::editCastItemObject | ( | ) |
Edit media cast item.
Definition at line 361 of file class.ilObjMediaCastGUI.php.
References $_GET, ilObjectGUI\$ctrl, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), ilFFmpeg\enabled(), getCastItemValues(), ilObjMediaObject\getMediaItem(), initAddCastItemForm(), and ilFFmpeg\supportsImageExtraction().
|
protected |
Definition at line 1504 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\$lng, $tabs, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), listItemsObject(), ilObjMediaCast\ORDER_CREATION_DATE_ASC, ilObjMediaCast\ORDER_CREATION_DATE_DESC, ilObjMediaCast\ORDER_MANUAL, and ilObjMediaCast\ORDER_TITLE.
ilObjMediaCastGUI::editSettingsObject | ( | ) |
Edit settings.
Definition at line 1189 of file class.ilObjMediaCastGUI.php.
References $tabs, ilObjectGUI\$tpl, ilObjectGUI\checkPermission(), and initSettingsForm().
ilObjMediaCastGUI::executeCommand | ( | ) |
Definition at line 102 of file class.ilObjMediaCastGUI.php.
References $_GET, $ilUser, $ret, $tabs, ilObjectGUI\$user, addContentSubTabs(), ilObjectGUI\addHeaderAction(), afterPoolInsert(), afterUpload(), afterUrlSaving(), ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), infoScreen(), ilLearningProgressBaseGUI\LP_CONTEXT_REPOSITORY, ilObjectGUI\prepareOutput(), ilMediaCreationGUI\setAllSuffixes(), and ilMediaCreationGUI\TYPE_ALL.
ilObjMediaCastGUI::extractPreviewImageObject | ( | ) |
Extract preview image.
Definition at line 1742 of file class.ilObjMediaCastGUI.php.
References $_GET, $_POST, ilObjectGUI\$ctrl, Vendor\Package\$e, $ret, ilObjMediaObject\_getDirectory(), ilObjectGUI\checkPermission(), ilFFmpeg\extractImage(), ilFFmpeg\getLastReturnValues(), ilUtil\sendFailure(), and ilUtil\sendInfo().
ilObjMediaCastGUI::getCastItemValues | ( | ) |
Get cast item values into form.
Definition at line 562 of file class.ilObjMediaCastGUI.php.
References $_GET, $i, ilObjectGUI\$lng, ilObjMediaCast\$purposes, getMediaItems(), and ilObjMediaObject\getVideoPreviewPic().
Referenced by editCastItemObject().
|
private |
get duration from form or from file analyzer
unknown_type | $file |
Definition at line 707 of file class.ilObjMediaCastGUI.php.
Referenced by determinePlaytimeObject(), saveCastItemObject(), and updateCastItemObject().
ilObjMediaCastGUI::getFeedIconsHTML | ( | ) |
Get feed icons HTML.
Definition at line 269 of file class.ilObjMediaCastGUI.php.
References $_GET, ilObjectGUI\$lng, ilObjMediaCast\$purposes, $url, ilBlockSetting\_lookup(), CLIENT_ID, ilRSSButtonGUI\get(), ilRSSButtonGUI\ICON_ITUNES, ilRSSButtonGUI\ICON_ITUNES_AUDIO, ilRSSButtonGUI\ICON_ITUNES_VIDEO, ilRSSButtonGUI\ICON_RSS, ilRSSButtonGUI\ICON_RSS_AUDIO, and ilRSSButtonGUI\ICON_RSS_VIDEO.
Referenced by listItemsObject(), and showGallery().
|
protected |
get MediaItem for id and updates local variable mcst_item
Definition at line 1461 of file class.ilObjMediaCastGUI.php.
References ilObjMediaObject\getMediaItem().
|
protected |
get MediaItems for id and updates local variable mcst_item
Definition at line 1477 of file class.ilObjMediaCastGUI.php.
References ilObjMediaObject\getMediaItems().
Referenced by getCastItemValues().
|
protected |
Definition at line 1884 of file class.ilObjMediaCastGUI.php.
References $_GET, exit, and user().
|
protected |
Definition at line 1818 of file class.ilObjMediaCastGUI.php.
References $_GET, $ilUser, ilObjectGUI\$user, and exit.
ilObjMediaCastGUI::handlePlayerEventObject | ( | ) |
Handle player event.
Definition at line 1795 of file class.ilObjMediaCastGUI.php.
References $_GET, $ilUser, ilObjectGUI\$user, and exit.
ilObjMediaCastGUI::infoScreen | ( | ) |
show information screen
Definition at line 1038 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\$access, $error, ilObjectGUI\$ilErr, $tabs, ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), ilDatePresentation\formatDate(), and IL_CAL_DATETIME.
Referenced by executeCommand(), and infoScreenObject().
ilObjMediaCastGUI::infoScreenObject | ( | ) |
this one is called from the info button in the repository not very nice to set cmdClass/Cmd manually, if everything works through ilCtrl in the future this may be changed
Definition at line 1025 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\checkPermission(), ilObjectGUI\checkPermissionBool(), and infoScreen().
ilObjMediaCastGUI::initAddCastItemForm | ( | $a_mode = "create" | ) |
Init add cast item form.
Definition at line 444 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjMediaCast\$purposes, $section, $tabs, ilObjectGUI\checkPermission(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilRegExpInputGUI\setPattern(), ilFormPropertyGUI\setPostVar(), ilFormPropertyGUI\setRequired(), and ilFileInputGUI\setSuffixes().
Referenced by addCastItemObject(), editCastItemObject(), saveCastItemObject(), and updateCastItemObject().
|
protected |
Definition at line 198 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\fillCloneTemplate(), ilObjectGUI\initCreateForm(), and ilObjectGUI\initImportForm().
ilObjMediaCastGUI::initSettingsForm | ( | ) |
Init Settings Form.
Definition at line 1204 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$lng, ilObjectGUI\$object_service, $si, ilObjectGUI\$tpl, ilBlockSetting\_lookup(), ilNewsItem\_lookupRSSPeriod(), ilRadioGroupInputGUI\addOption(), ilObjMediaCast\ORDER_CREATION_DATE_ASC, ilObjMediaCast\ORDER_CREATION_DATE_DESC, ilObjMediaCast\ORDER_MANUAL, ilObjMediaCast\ORDER_TITLE, ilCheckboxInputGUI\setChecked(), ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setMaxValue(), ilTextAreaInputGUI\setValue(), ilObjMediaCast\VIEW_GALLERY, and ilObjMediaCast\VIEW_LIST.
Referenced by editSettingsObject(), and saveSettingsObject().
|
staticprotected |
detect audio mimetype
string | $extension |
Definition at line 1450 of file class.ilObjMediaCastGUI.php.
ilObjMediaCastGUI::listItemsObject | ( | $a_presentation_mode = false | ) |
List items of media cast.
Definition at line 221 of file class.ilObjMediaCastGUI.php.
References $_GET, ilObjectGUI\$access, ilObjectGUI\$lng, $tabs, ilObjectGUI\$toolbar, ilObjectGUI\$tpl, addContentSubTabs(), ilObjectGUI\checkPermission(), and getFeedIconsHTML().
Referenced by confirmDeletionItemsObject(), editOrderObject(), and showContentObject().
|
private |
Definition at line 1487 of file class.ilObjMediaCastGUI.php.
References $_POST, ilObjMediaCast\$purposes, and ilObjectGUI\$tpl.
Referenced by saveCastItemObject(), and updateCastItemObject().
ilObjMediaCastGUI::saveCastItemObject | ( | ) |
Save new cast item.
Definition at line 609 of file class.ilObjMediaCastGUI.php.
References $_POST, ilObjectGUI\$ctrl, $ilUser, ilObjectGUI\$lng, $tabs, ilObjectGUI\$tpl, ilObjectGUI\$user, ilObjectGUI\checkPermission(), createMediaItemForPurpose(), getDuration(), initAddCastItemForm(), NEWS_AUDIO, populateFormFromPost(), and ilUtil\sendFailure().
ilObjMediaCastGUI::saveOrderObject | ( | ) |
Definition at line 1538 of file class.ilObjMediaCastGUI.php.
References $_POST, and ilObjectGUI\$lng.
ilObjMediaCastGUI::saveSettingsObject | ( | ) |
Save Settings.
Definition at line 1349 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\$ctrl, ilObjectGUI\$object_service, $tabs, ilBlockSetting\_write(), ilObjectGUI\checkPermission(), and initSettingsForm().
ilObjMediaCastGUI::setTabs | ( | ) |
get tabs public
Definition at line 1082 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\$access, $help, ilObjectGUI\$lng, $tabs, and ilLearningProgressAccess\checkAccess().
ilObjMediaCastGUI::showContentObject | ( | ) |
Show content.
Definition at line 1564 of file class.ilObjMediaCastGUI.php.
References $ilUser, ilObjectGUI\$tpl, ilObjectGUI\$user, ilChangeEvent\_recordReadEvent(), ilLPStatusWrapper\_updateStatus(), listItemsObject(), showGallery(), and ilObjMediaCast\VIEW_GALLERY.
ilObjMediaCastGUI::showGallery | ( | ) |
Definition at line 1591 of file class.ilObjMediaCastGUI.php.
References ilObjectGUI\$ctrl, $tabs, ilObjectGUI\$tpl, ilObjMediaObject\_getURL(), addContentSubTabs(), getFeedIconsHTML(), ilUtil\getImagePath(), ilUtil\img(), ilMediaPlayerGUI\setFile(), and ilWACSignedPath\signFile().
Referenced by showContentObject().
ilObjMediaCastGUI::updateCastItemObject | ( | ) |
Update cast item.
Definition at line 827 of file class.ilObjMediaCastGUI.php.
References $_GET, ilObjectGUI\$ctrl, $ilUser, $log, ilObjMediaCast\$purposes, ilObjectGUI\$user, ilObjectGUI\checkPermission(), createMediaItemForPurpose(), getDuration(), initAddCastItemForm(), populateFormFromPost(), and updateMediaItem().
|
private |
update media item from form
IlObjectMediaObject | $mob | |
IlMediaItem | $mediaItem |
FileNotFoundException | |
IOException |
Definition at line 753 of file class.ilObjMediaCastGUI.php.
References $format, $location, ilObjMediaObject\_getDirectory(), ilUtil\getASCIIFilename(), ilObjMediaObject\getMimeType(), ilUtil\moveUploadedFile(), and ilUtil\renameExecutables().
Referenced by createMediaItemForPurpose(), and updateCastItemObject().
|
private |
Definition at line 51 of file class.ilObjMediaCastGUI.php.
|
protected |
Definition at line 38 of file class.ilObjMediaCastGUI.php.
Referenced by infoScreen().
|
protected |
Definition at line 48 of file class.ilObjMediaCastGUI.php.
|
protected |
Definition at line 43 of file class.ilObjMediaCastGUI.php.
Referenced by setTabs().
|
protected |
Definition at line 33 of file class.ilObjMediaCastGUI.php.
Referenced by updateCastItemObject().
|
private |
Definition at line 53 of file class.ilObjMediaCastGUI.php.
|
private |
Definition at line 52 of file class.ilObjMediaCastGUI.php.
|
protected |
Definition at line 28 of file class.ilObjMediaCastGUI.php.
Referenced by addContentSubTabs(), confirmDeletionItemsObject(), editOrderObject(), editSettingsObject(), executeCommand(), infoScreen(), initAddCastItemForm(), listItemsObject(), saveCastItemObject(), saveSettingsObject(), setTabs(), and showGallery().