ILIAS
release_8 Revision v8.19
|
Class ilMediaPoolPage GUI class. More...
Public Member Functions | |
__construct (int $a_id=0, int $a_old_nr=0, bool $a_prevent_get_id=false, string $a_lang="") | |
setMediaPoolPage (ilMediaPoolPage $a_media_pool_page) | |
showPage (bool $a_no_title=false) | |
getTabs (string $a_activate="") | |
getRawContent () | |
setTemplate (ilGlobalTemplateInterface $tpl) | |
createMediaPoolPage () | |
editMediaPoolPage () | |
saveMediaPoolPage () | |
updateMediaPoolPage () | |
initMediaPoolPageForm (string $a_mode="edit") | |
getMediaPoolPageValues (ilPropertyFormGUI $form) | |
setMediaPoolPageTabs () | |
showAllMediaPoolPageUsages () | |
showMediaPoolPageUsages (bool $a_all=false) | |
List usages of the contnet snippet. More... | |
finishEditing () | |
getAdditionalPageActions () | |
getProfileBackUrl () | |
![]() | |
__construct (string $a_parent_type, int $a_id, int $a_old_nr=0, bool $a_prevent_get_id=false, string $a_lang="", string $concrete_lang="") | |
setTemplate (ilGlobalTemplateInterface $main_tpl) | |
afterConstructor () | |
setAdvMdRecordObject (int $a_adv_ref_id, string $a_adv_type, string $a_adv_subtype="-") | |
Set object, that defines the adv md records being used. More... | |
getAdvMdRecordObject () | |
Get adv md record type. More... | |
setParentType (string $a_val) | |
getParentType () | |
setId (int $a_val) | |
getId () | |
setOldNr (int $a_val) | |
Set old nr (historic page) More... | |
getOldNr () | |
setLanguage (string $a_val) | |
getLanguage () | |
setEnablePCType (string $a_pc_type, bool $a_val) | |
getEnablePCType (string $a_pc_type) | |
setPageConfig (ilPageConfig $a_val) | |
getPageConfig () | |
setPageObject (ilPageObject $a_pg_obj) | |
getPageObject () | |
setOutputMode (string $a_mode=self::PRESENTATION) | |
getOutputMode () | |
setTemplateOutput (bool $a_output=true) | |
outputToTemplate () | |
setPresentationTitle (string $a_title="") | |
getPresentationTitle () | |
setHeader (string $a_title="") | |
getHeader () | |
setLinkParams (string $l_params="") | |
getLinkParams () | |
setLinkFrame (string $l_frame="") | |
getLinkFrame () | |
setPageLinker (\ILIAS\COPage\PageLinker $page_linker) | |
getLinkXML () | |
setQuestionHTML (array $question_html) | |
getQuestionHTML () | |
setTemplateTargetVar (string $a_variable) | |
getTemplateTargetVar () | |
getTemplateOutputVar () | |
setSourcecodeDownloadScript (string $script_name) | |
getSourcecodeDownloadScript () | |
setTabs (ilTabsGUI $a_tabs) | |
setPageBackTitle (string $a_title) | |
setFileDownloadLink (string $a_download_link) | |
getFileDownloadLink () | |
setFullscreenLink (string $a_fullscreen_link) | |
getFullscreenLink () | |
setIntLinkReturn (string $a_return) | |
enableChangeComments (bool $a_enabled) | |
isEnabledChangeComments () | |
enableNotes (bool $a_enabled, int $a_parent_id) | |
isEnabledNotes () | |
setOfflineDirectory (string $offdir) | |
getOfflineDirectory () | |
setViewPageLink (string $a_link, string $a_target="") | |
set link for "view page" button More... | |
getViewPageLink () | |
getViewPageTarget () | |
getViewPageText () | |
setActivationListener (object $a_obj, string $a_meth) | |
setEnabledNews (bool $a_enabled, int $a_news_obj_id=0, string $a_news_obj_type="") | |
getEnabledNews () | |
setTabHook (object $a_object, string $a_function) | |
setEditPreview (bool $a_editpreview) | |
Set Display first Edit tab, then Preview tab, instead of Page and Edit. More... | |
getEditPreview () | |
setEnabledTabs (bool $a_enabledtabs) | |
getEnabledTabs () | |
setEnabledPageFocus (bool $a_enabledpagefocus) | |
setOpenPlaceHolder (string $a_val) | |
getOpenPlaceHolder () | |
getEnabledPageFocus () | |
setPrependingHtml (string $a_prependinghtml) | |
getPrependingHtml () | |
setEnableEditing (bool $a_enableediting) | |
getEnableEditing () | |
setRawPageContent (bool $a_rawpagecontent) | |
Set Get raw page content only. More... | |
getRawPageContent () | |
setStyleId (int $a_styleid) | |
getStyleId () | |
setCompareMode (bool $a_val) | |
getCompareMode () | |
setAbstractOnly (bool $a_val, string $pcid="") | |
Get only abstract (first text paragraph) More... | |
getAbstractOnly () | |
setRenderPageContainer (bool $a_val) | |
getRenderPageContainer () | |
getDisabledText () | |
getEnabledHref () | |
setEnabledHref (bool $enable) | |
activateMetaDataEditor (ilObject $a_rep_obj, string $a_type, int $a_sub_obj_id, object $a_observer_obj=null, string $a_observer_func="") | |
Activate meda data editor. More... | |
determineFileDownloadLink () | |
determineFullscreenLink () | |
determineSourcecodeDownloadScript () | |
getComponentPluginsXML () | |
Put information about activated plugins into XML. More... | |
executeCommand () | |
execute command More... | |
setQEditTabs (string $a_active) | |
Set question editing tabs. More... | |
onFeedbackEditingForwarding () | |
deactivatePage () | |
activatePage () | |
showPage () | |
display content of page More... | |
replaceCurlyBrackets (string $output) | |
getActivationCaptions () | |
Get captions for activation action menu entries. More... | |
setEditMode () | |
Set edit mode. More... | |
setDefaultLinkXml () | |
setLinkXml (string $xml) | |
getProfileBackUrl () | |
setProfileBackUrl (string $url) | |
downloadFile () | |
displayMediaFullscreen () | |
displayMedia (bool $a_fullscreen=false) | |
download_paragraph () | |
download source code paragraph More... | |
insertPageToc (string $a_output) | |
insertResources (string $a_output) | |
insertAdvTrigger (string $a_output) | |
Insert adv content trigger. More... | |
postOutputProcessing (string $a_output) | |
Finalizing output processing. More... | |
previewHistory () | |
Preview history. More... | |
preview () | |
edit () | |
getBlockingInfoMessage () | |
insertJSAtPlaceholder () | |
presentation (string $a_mode=self::PRESENTATION) | |
getHTML () | |
showMediaFullscreen (int $a_style_id=0) | |
show fullscreen view of media object More... | |
displayValidationError ($a_error) | |
display validation error More... | |
history () | |
Get history table as HTML. More... | |
rollbackConfirmation () | |
Rollback confirmation. More... | |
rollback () | |
Rollback to a previous version. More... | |
setScreenIdComponent () | |
getTabs (string $a_activate="") | |
compareVersion () | |
Compares two revisions of the page. More... | |
replaceDiffTags (string $a_html) | |
editActivation () | |
Edit activation (only, if scheduled page activation is activated in administration) More... | |
initActivationForm () | |
Init activation form. More... | |
getActivationFormValues () | |
Get values for activation form. More... | |
saveActivation () | |
Save Activation. More... | |
getNotesHTML (object $a_content_object=null, bool $a_enable_private_notes=true, bool $a_enable_public_notes=false, bool $a_enable_notes_deletion=false, callable $a_callback=null, bool $export=false) | |
Get html for public and/or private notes. More... | |
processAnswer () | |
Process answer. More... | |
initialOpenedContent () | |
Initially opened content. More... | |
initOpenedContentForm () | |
saveInitialOpenedContent () | |
switchToLanguage () | |
Switch to language. More... | |
confirmPageTranslationCreation () | |
Confirm page translation creation. More... | |
editMasterLanguage () | |
Edit master language. More... | |
createPageTranslation () | |
Create page translation. More... | |
releasePageLock () | |
Release page lock. More... | |
finishEditing () | |
getPagePermaLink () | |
getAdditionalPageActions () | |
Get additional page actions. More... | |
Protected Member Functions | |
cancelSaveNewMediaPoolPage () | |
![]() | |
initPageObject () | |
Init page object. More... | |
showEditToolbar () | |
Show edit toolbar. More... | |
setEditorToolContext () | |
Set editor tool context. More... | |
initEditing () | |
showEditLockInfo () | |
setBackToEditTabs () | |
isPageContainerToBeRendered () | |
addResourcesToTemplate (ilGlobalTemplateInterface $tpl) | |
Add resources to template. More... | |
Additional Inherited Members | |
![]() | |
static | getTinyMenu (string $a_par_type, bool $a_int_links=false, bool $a_wiki_links=false, bool $a_keywords=false, $a_style_id=0, $a_paragraph_styles=true, $a_save_return=true, $a_anchors=false, $a_save_new=true, $a_user_links=false, \ILIAS\COPage\Editor\Server\UIWrapper $ui_wrapper=null) |
Get Tiny Menu. More... | |
![]() | |
const | PRESENTATION = "presentation" |
const | EDIT = "edit" |
const | PREVIEW = "preview" |
const | OFFLINE = "offline" |
const | PRINTING = "print" |
string | $page_back_title = "" |
ilPageObject | $obj |
string | $presentation_title = "" |
string | $target_script = "" |
string | $return_location = "" |
string | $target_var = "" |
string | $template_output_var = "" |
bool | $output2template = false |
string | $link_params = "" |
string | $sourcecode_download_script = "" |
bool | $change_comments = false |
bool | $activation = false |
bool | $activated = true |
bool | $editpreview = false |
bool | $use_meta_data = false |
ilObject | $meta_data_rep_obj = null |
int | $meta_data_sub_obj_id = 0 |
string | $meta_data_type = "" |
object | $meta_data_observer_obj = null |
string | $meta_data_observer_func = "" |
bool | $link_xml_set = false |
bool | $enableediting = true |
bool | $rawpagecontent = false |
bool | $enabledcontentincludes = false |
bool | $compare_mode = false |
ilPageConfig | $page_config = null |
bool | $tabs_enabled = true |
bool | $render_page_container = false |
string | $pl_start = "{{{{{" |
string | $pl_end = "}}}}}" |
Class ilMediaPoolPage GUI class.
Definition at line 27 of file class.ilMediaPoolPageGUI.php.
ilMediaPoolPageGUI::__construct | ( | int | $a_id = 0 , |
int | $a_old_nr = 0 , |
||
bool | $a_prevent_get_id = false , |
||
string | $a_lang = "" |
||
) |
Definition at line 35 of file class.ilMediaPoolPageGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilPageObjectGUI\getPageObject(), ILIAS\Repository\lng(), ilPageObjectGUI\setEditPreview(), ilPageObjectGUI\setStyleId(), and ILIAS\Repository\tabs().
|
protected |
Definition at line 238 of file class.ilMediaPoolPageGUI.php.
References ilPageObjectGUI\$ctrl, and ilCtrl\returnToParent().
ilMediaPoolPageGUI::createMediaPoolPage | ( | ) |
Definition at line 134 of file class.ilMediaPoolPageGUI.php.
References ilPageObjectGUI\$form, ilPageObjectGUI\$tpl, ilPropertyFormGUI\getHTML(), initMediaPoolPageForm(), ilGlobalTemplateInterface\setContent(), and ILIAS\Repository\tabs().
ilMediaPoolPageGUI::editMediaPoolPage | ( | ) |
Definition at line 143 of file class.ilMediaPoolPageGUI.php.
References ilPageObjectGUI\$form, ilPageObjectGUI\$tpl, ilPropertyFormGUI\getHTML(), getMediaPoolPageValues(), initMediaPoolPageForm(), and ilGlobalTemplateInterface\setContent().
ilMediaPoolPageGUI::finishEditing | ( | ) |
Definition at line 341 of file class.ilMediaPoolPageGUI.php.
References ILIAS\Repository\ctrl().
ilMediaPoolPageGUI::getAdditionalPageActions | ( | ) |
Definition at line 346 of file class.ilMediaPoolPageGUI.php.
References $tabs, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
ilMediaPoolPageGUI::getMediaPoolPageValues | ( | ilPropertyFormGUI | $form | ) |
Definition at line 244 of file class.ilMediaPoolPageGUI.php.
References ilMediaPoolItem\lookupTitle(), and ilPropertyFormGUI\setValuesByArray().
Referenced by editMediaPoolPage().
ilMediaPoolPageGUI::getProfileBackUrl | ( | ) |
Definition at line 380 of file class.ilMediaPoolPageGUI.php.
ilMediaPoolPageGUI::getRawContent | ( | ) |
Definition at line 122 of file class.ilMediaPoolPageGUI.php.
References ilPageObjectGUI\setLinkXml(), ilPageObjectGUI\setRawPageContent(), and ilPageObjectGUI\showPage().
ilMediaPoolPageGUI::getTabs | ( | string | $a_activate = "" | ) |
Definition at line 117 of file class.ilMediaPoolPageGUI.php.
References setMediaPoolPageTabs().
Referenced by showMediaPoolPageUsages().
ilMediaPoolPageGUI::initMediaPoolPageForm | ( | string | $a_mode = "edit" | ) |
Definition at line 210 of file class.ilMediaPoolPageGUI.php.
References ilPageObjectGUI\$ctrl, ilPageObjectGUI\$form, ilPageObjectGUI\$lng, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ilFormGUI\setFormAction(), ilPropertyFormGUI\setTitle(), and ilLanguage\txt().
Referenced by createMediaPoolPage(), editMediaPoolPage(), saveMediaPoolPage(), and updateMediaPoolPage().
ilMediaPoolPageGUI::saveMediaPoolPage | ( | ) |
Definition at line 151 of file class.ilMediaPoolPageGUI.php.
References ilPageObjectGUI\$ctrl, ilPageObjectGUI\$form, ilPageObjectGUI\$lng, ilPageObjectGUI\$tpl, ilPropertyFormGUI\checkInput(), ilPropertyFormGUI\getInput(), initMediaPoolPageForm(), ilGlobalTemplateInterface\setContent(), and ilPropertyFormGUI\setValuesByPost().
ilMediaPoolPageGUI::setMediaPoolPage | ( | ilMediaPoolPage | $a_media_pool_page | ) |
Definition at line 68 of file class.ilMediaPoolPageGUI.php.
References $pool, $pool_gui, ilPageObjectGUI\activateMetaDataEditor(), ilPageObjectGUI\getId(), ilObjectGUI\getObject(), ilPageObjectGUI\getPageObject(), and ilPageObjectGUI\setPageObject().
ilMediaPoolPageGUI::setMediaPoolPageTabs | ( | ) |
Definition at line 253 of file class.ilMediaPoolPageGUI.php.
References ilPageObjectGUI\$ctrl, ilPageObjectGUI\$lng, $tabs, and ilLanguage\txt().
Referenced by getTabs().
ilMediaPoolPageGUI::setTemplate | ( | ilGlobalTemplateInterface | $tpl | ) |
ilMediaPoolPageGUI::showAllMediaPoolPageUsages | ( | ) |
Definition at line 296 of file class.ilMediaPoolPageGUI.php.
References showMediaPoolPageUsages().
ilMediaPoolPageGUI::showMediaPoolPageUsages | ( | bool | $a_all = false | ) |
List usages of the contnet snippet.
Definition at line 305 of file class.ilMediaPoolPageGUI.php.
References ilPageObjectGUI\$ctrl, ilPageObjectGUI\$lng, $tabs, ilPageObjectGUI\$tpl, getTabs(), ilGlobalTemplateInterface\setContent(), and ilLanguage\txt().
Referenced by showAllMediaPoolPageUsages().
ilMediaPoolPageGUI::showPage | ( | bool | $a_no_title = false | ) |
Definition at line 99 of file class.ilMediaPoolPageGUI.php.
References ilPageObjectGUI\$tpl, ilGlobalTemplateInterface\addCss(), ilPageObjectGUI\getId(), ilPageObjectGUI\getRawPageContent(), ilMediaPoolItem\lookupTitle(), ilPageObjectGUI\setPresentationTitle(), and ilPageObjectGUI\setTemplateOutput().
ilMediaPoolPageGUI::updateMediaPoolPage | ( | ) |
Definition at line 190 of file class.ilMediaPoolPageGUI.php.
References ilPageObjectGUI\$ctrl, ilPageObjectGUI\$form, ilPageObjectGUI\$lng, ilPageObjectGUI\$tpl, ilPropertyFormGUI\checkInput(), ilPropertyFormGUI\getInput(), initMediaPoolPageForm(), ilGlobalTemplateInterface\setContent(), ilGlobalTemplateInterface\setOnScreenMessage(), ilMediaPoolItem\setTitle(), ilPropertyFormGUI\setValuesByPost(), and ilLanguage\txt().
|
protected |
Definition at line 29 of file class.ilMediaPoolPageGUI.php.
|
protected |
Definition at line 30 of file class.ilMediaPoolPageGUI.php.
|
protected |
Definition at line 33 of file class.ilMediaPoolPageGUI.php.
Referenced by setMediaPoolPage().
|
protected |
Definition at line 32 of file class.ilMediaPoolPageGUI.php.
Referenced by setMediaPoolPage().
|
protected |
Definition at line 31 of file class.ilMediaPoolPageGUI.php.
Referenced by getAdditionalPageActions(), setMediaPoolPageTabs(), and showMediaPoolPageUsages().