ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Class ilWikiPage GUI class. More...
Public Member Functions | |
setScreenIdComponent () | |
setWikiRefId (int $a_ref_id) | |
getWikiRefId () | |
setWiki (ilObjWiki $a_val) | |
getWiki () | |
executeCommand () | |
setWikiPage (ilWikiPage $a_wikipage) | |
setSideBlock () | |
addHeaderAction (bool $a_redraw=false) | |
redrawHeaderAction () | |
preview () | |
showPage () | |
display content of page More... | |
postOutputProcessing (string $a_output) | |
Finalizing output processing. More... | |
whatLinksHere () | |
getTabs (string $a_activate="") | |
deleteWikiPageConfirmationScreen () | |
cancelWikiPageDeletion () | |
confirmWikiPageDeletion () | |
printViewSelection () | |
printViewOrder () | |
blockWikiPage () | |
unblockWikiPage () | |
renameWikiPage () | |
renamePage () | |
activateWikiPageRating () | |
Rating /. More... | |
deactivateWikiPageRating () | |
observeNoteAction (int $a_wiki_id, int $a_page_id, string $a_type, string $a_action, int $a_note_id) | |
updateStatsRating (int $a_wiki_id, string $a_wiki_type, int $a_page_id, string $a_page_type) | |
editAdvancedMetaData (?ilPropertyFormGUI $a_form=null) | |
updateAdvancedMetaData () | |
hideAdvancedMetaData () | |
unhideAdvancedMetaData () | |
edit () | |
insertWikiLink () | |
Returns form to insert a wiki link per ajax. More... | |
insertWikiLinkAC () | |
Auto complete for insert wiki link. More... | |
searchWikiLinkAC () | |
Search wiki link list. More... | |
getCommentsHTMLExport () | |
confirmPageTranslationCreation () | |
Confirm page translation creation. More... | |
![]() | |
__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) | |
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 () | |
getMetaDataLink () | |
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... | |
afterDeleteContents () | |
Static Public Member Functions | |
static | initEditingJS (ilGlobalTemplateInterface $a_tpl) |
![]() | |
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... | |
Protected Member Functions | |
initToolbar () | |
getCurrentLanguage () | |
addLanguageSelectionToToolbar () | |
getLanguageLabelForCode (string $code) | |
getPrintView () | |
increaseViewCount () | |
printViewOrderList () | |
initRenameForm () | |
initAdvancedMetaDataForm () | |
finalizeAssignment () | |
Finalize and submit blog to exercise. More... | |
downloadExcSubFile () | |
getTranslatePageFormAdapter () | |
checkLangPageAvailable (int $id, string $lang) | |
![]() | |
initPageObject () | |
Init page object. More... | |
showEditToolbar () | |
Show edit toolbar. More... | |
setEditorToolContext () | |
Set editor tool context. More... | |
initEditing () | |
showEditLockInfo () | |
setBackToEditTabs () | |
setBackToHistoryTabs () | |
checkLangPageAvailable (int $id, string $lang) | |
isPageContainerToBeRendered () | |
addResourcesToTemplate (ilGlobalTemplateInterface $tpl) | |
Add resources to template. More... | |
Class ilWikiPage GUI class.
@ilCtrl_Calls ilWikiPageGUI: ilPageEditorGUI, ilEditClipboardGUI, ilMediaPoolTargetSelector @ilCtrl_Calls ilWikiPageGUI: ILIAS\User\Profile\PublicProfileGUI, ilPageObjectGUI, ilNoteGUI, ilCommentGUI @ilCtrl_Calls ilWikiPageGUI: ilCommonActionDispatcherGUI, ilRatingGUI, ilWikiStatGUI @ilCtrl_Calls ilWikiPageGUI: ilObjectMetaDataGUI, ilPropertyFormGUI
Definition at line 32 of file class.ilWikiPageGUI.php.
ilWikiPageGUI::activateWikiPageRating | ( | ) |
Rating /.
Definition at line 952 of file class.ilWikiPageGUI.php.
References $lng.
ilWikiPageGUI::addHeaderAction | ( | bool | $a_redraw = false | ) |
Definition at line 250 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 484 of file class.ilWikiPageGUI.php.
References Vendor\Package\$f, ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), and ILIAS\Repository\lng().
ilWikiPageGUI::blockWikiPage | ( | ) |
Definition at line 836 of file class.ilWikiPageGUI.php.
References $lng, and ilWikiPerm\check().
ilWikiPageGUI::cancelWikiPageDeletion | ( | ) |
Definition at line 727 of file class.ilWikiPageGUI.php.
|
protected |
Reimplemented from ilPageObjectGUI.
Definition at line 1393 of file class.ilWikiPageGUI.php.
ilWikiPageGUI::confirmPageTranslationCreation | ( | ) |
Confirm page translation creation.
Reimplemented from ilPageObjectGUI.
Definition at line 1321 of file class.ilWikiPageGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilWikiPageGUI::confirmWikiPageDeletion | ( | ) |
Definition at line 734 of file class.ilWikiPageGUI.php.
References $lng, and ilWikiPerm\check().
ilWikiPageGUI::deactivateWikiPageRating | ( | ) |
Definition at line 964 of file class.ilWikiPageGUI.php.
References $lng.
ilWikiPageGUI::deleteWikiPageConfirmationScreen | ( | ) |
Definition at line 657 of file class.ilWikiPageGUI.php.
References $lng, ilWikiPerm\check(), ILIAS\Survey\Mode\getId(), ilWikiPage\getLinksToPage(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), and ilWikiPage\getWikiPageContributors().
|
protected |
Definition at line 1279 of file class.ilWikiPageGUI.php.
References $ass_id, ilObjUser\_lookupName(), and ilObject\_lookupTitle().
ilWikiPageGUI::edit | ( | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 1125 of file class.ilWikiPageGUI.php.
References $lng, ILIAS\Repository\ctrl(), and ILIAS\Survey\Mode\getId().
ilWikiPageGUI::editAdvancedMetaData | ( | ?ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1035 of file class.ilWikiPageGUI.php.
ilWikiPageGUI::executeCommand | ( | ) |
ilCtrlException |
Reimplemented from ilPageObjectGUI.
Definition at line 110 of file class.ilWikiPageGUI.php.
References ilPageObjectGUI\$access, ilPageObjectGUI\$ctrl, ilPageObjectGUI\$form, ilPageObjectGUI\$gui, ilPageObjectGUI\$lng, ilPageObjectGUI\$tabs_gui, ilPageObjectGUI\$tpl, ilPageObjectGUI\$user, ilObject\_lookupObjId(), ilObject\_lookupTitle(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), ilPageObjectGUI\getId(), ilCommonActionDispatcherGUI\getInstanceFromAjaxCall(), ilPageObjectGUI\getPageObject(), getTabs(), ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), initAdvancedMetaDataForm(), initEditingJS(), preview(), ILIAS\UICore\GlobalTemplate\setHeaderPageTitle(), ilNotification\setNotification(), ilPageObjectGUI\setPresentationTitle(), ilLanguage\txt(), ilNotification\TYPE_WIKI, and ilNotification\TYPE_WIKI_PAGE.
|
protected |
Finalize and submit blog to exercise.
Definition at line 1265 of file class.ilWikiPageGUI.php.
References $ass_id, $lng, ilExAssignmentTypes\getInstance(), ilExAssignment\TYPE_WIKI_TEAM, and ILIAS\Repository\user().
ilWikiPageGUI::getCommentsHTMLExport | ( | ) |
Definition at line 1306 of file class.ilWikiPageGUI.php.
References ilObjWiki\_lookupPublicNotes().
|
protected |
Definition at line 479 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 527 of file class.ilWikiPageGUI.php.
References ILIAS\Repository\lng().
|
protected |
Definition at line 535 of file class.ilWikiPageGUI.php.
References $provider, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\ui().
ilWikiPageGUI::getTabs | ( | string | $a_activate = "" | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 626 of file class.ilWikiPageGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 1353 of file class.ilWikiPageGUI.php.
References Vendor\Package\$f, and ILIAS\Repository\lng().
ilWikiPageGUI::getWiki | ( | ) |
Definition at line 102 of file class.ilWikiPageGUI.php.
References $wiki.
ilWikiPageGUI::getWikiRefId | ( | ) |
ilWikiPageGUI::hideAdvancedMetaData | ( | ) |
Definition at line 1089 of file class.ilWikiPageGUI.php.
References $lng.
|
protected |
Definition at line 552 of file class.ilWikiPageGUI.php.
References ilChangeEvent\_recordReadEvent(), ilWikiStat\EVENT_PAGE_READ, and ilWikiStat\handleEvent().
|
protected |
Definition at line 1006 of file class.ilWikiPageGUI.php.
References $lng, and ilAdvancedMDRecordGUI\MODE_EDITOR.
Referenced by executeCommand().
|
static |
Definition at line 1135 of file class.ilWikiPageGUI.php.
References $DIC, $lng, ILIAS\UICore\GlobalTemplate\addJavaScript(), and ILIAS\UICore\GlobalTemplate\addOnLoadCode().
Referenced by executeCommand().
|
protected |
Definition at line 888 of file class.ilWikiPageGUI.php.
References $lng, ILIAS\Repository\form(), and ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle().
|
protected |
Definition at line 464 of file class.ilWikiPageGUI.php.
References ILIAS\Repository\ctrl().
ilWikiPageGUI::insertWikiLink | ( | ) |
Returns form to insert a wiki link per ajax.
Definition at line 1150 of file class.ilWikiPageGUI.php.
References $lng, exit, and ILIAS\Repository\lng().
ilWikiPageGUI::insertWikiLinkAC | ( | ) |
Auto complete for insert wiki link.
Definition at line 1181 of file class.ilWikiPageGUI.php.
References $res, ilWikiPage\_wikiPageExists(), exit, and ilWikiPage\getPagesForSearch().
ilWikiPageGUI::observeNoteAction | ( | int | $a_wiki_id, |
int | $a_page_id, | ||
string | $a_type, | ||
string | $a_action, | ||
int | $a_note_id | ||
) |
Definition at line 977 of file class.ilWikiPageGUI.php.
ilWikiPageGUI::postOutputProcessing | ( | string | $a_output | ) |
Finalizing output processing.
Maybe overwritten in derived classes, e.g. in wiki module.
Reimplemented from ilPageObjectGUI.
Definition at line 569 of file class.ilWikiPageGUI.php.
References ILIAS\Survey\Mode\getId(), ilWikiUtil\makeUrlTitle(), and ilWikiUtil\replaceInternalLinks().
ilWikiPageGUI::preview | ( | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 348 of file class.ilWikiPageGUI.php.
References $ilSetting, $lng, $message, ilUserSearchCache\_getInstance(), ilObjWiki\_lookupPublicNotes(), ilDatePresentation\formatDate(), ilUserUtil\getNamePresentation(), IL_CAL_DATETIME, ilUserSearchCache\LAST_QUERY, and ilPageObjectGUI\PRESENTATION.
Referenced by executeCommand().
ilWikiPageGUI::printViewOrder | ( | ) |
Definition at line 757 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 762 of file class.ilWikiPageGUI.php.
ilWikiPageGUI::printViewSelection | ( | ) |
Definition at line 751 of file class.ilWikiPageGUI.php.
ilWikiPageGUI::redrawHeaderAction | ( | ) |
Definition at line 342 of file class.ilWikiPageGUI.php.
References exit.
ilWikiPageGUI::renamePage | ( | ) |
Definition at line 910 of file class.ilWikiPageGUI.php.
References $lng, ILIAS\Repository\form(), ILIAS\Survey\Mode\getId(), getLanguage(), ilWikiPage\getPageIdForTitle(), ilWikiUtil\makeDbTitle(), and ilWikiUtil\makeUrlTitle().
ilWikiPageGUI::renameWikiPage | ( | ) |
Definition at line 871 of file class.ilWikiPageGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\form().
ilWikiPageGUI::searchWikiLinkAC | ( | ) |
Search wiki link list.
Definition at line 1218 of file class.ilWikiPageGUI.php.
References Vendor\Package\$f, $lng, ilObjWiki\_performSearch(), exit, ilWikiPage\lookupTitle(), and ilArrayUtil\sortArray().
ilWikiPageGUI::setScreenIdComponent | ( | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 81 of file class.ilWikiPageGUI.php.
References ilPageObjectGUI\$help, and ilHelpGUI\setScreenIdComponent().
ilWikiPageGUI::setSideBlock | ( | ) |
Definition at line 241 of file class.ilWikiPageGUI.php.
References ilPageObjectGUI\getId(), and ilObjWikiGUI\renderSideBlock().
ilWikiPageGUI::setWiki | ( | ilObjWiki | $a_val | ) |
Definition at line 97 of file class.ilWikiPageGUI.php.
ilWikiPageGUI::setWikiPage | ( | ilWikiPage | $a_wikipage | ) |
Definition at line 229 of file class.ilWikiPageGUI.php.
References ilPageObjectGUI\setPageObject().
ilWikiPageGUI::setWikiRefId | ( | int | $a_ref_id | ) |
Definition at line 87 of file class.ilWikiPageGUI.php.
ilWikiPageGUI::showPage | ( | ) |
display content of page
Reimplemented from ilPageObjectGUI.
Definition at line 447 of file class.ilWikiPageGUI.php.
References ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), and ilPageObjectGUI\PRESENTATION.
ilWikiPageGUI::unblockWikiPage | ( | ) |
Definition at line 851 of file class.ilWikiPageGUI.php.
References $lng, and ilWikiPerm\check().
ilWikiPageGUI::unhideAdvancedMetaData | ( | ) |
Definition at line 1107 of file class.ilWikiPageGUI.php.
References $lng.
ilWikiPageGUI::updateAdvancedMetaData | ( | ) |
Definition at line 1063 of file class.ilWikiPageGUI.php.
References $lng.
ilWikiPageGUI::updateStatsRating | ( | int | $a_wiki_id, |
string | $a_wiki_type, | ||
int | $a_page_id, | ||
string | $a_page_type | ||
) |
Definition at line 992 of file class.ilWikiPageGUI.php.
ilWikiPageGUI::whatLinksHere | ( | ) |
Definition at line 609 of file class.ilWikiPageGUI.php.
References ILIAS\Survey\Mode\getId(), and IL_WIKI_WHAT_LINKS_HERE.
|
protected |
Definition at line 35 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 34 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 43 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 40 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 39 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 37 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 42 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 45 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 46 of file class.ilWikiPageGUI.php.
Referenced by getWiki().
|
protected |
Definition at line 38 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 36 of file class.ilWikiPageGUI.php.
|
protected |
Definition at line 44 of file class.ilWikiPageGUI.php.
Referenced by getWikiRefId().
|
protected |
Definition at line 41 of file class.ilWikiPageGUI.php.