|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilAssQuestionPageGUI:
Collaboration diagram for ilAssQuestionPageGUI:Public Member Functions | |
| __construct ($a_id=0, $a_old_nr=0) | |
| Constructor. More... | |
| getOriginalPresentationTitle () | |
| setOriginalPresentationTitle ($originalPresentationTitle) | |
| showPage () | |
| display content of page More... | |
| finishEditing () | |
| postOutputProcessing (string $a_output) | |
| Finalizing output processing. More... | |
| setQuestionInfoHTML ($a_html) | |
| Set the HTML of a question info block below the title (number, status, ...) More... | |
| setQuestionActionsHTML ($a_html) | |
| Set the HTML of a question actions block below the title. More... | |
| insertPageToc (string $a_output) | |
| Replace page toc placeholder with question info and actions. More... | |
Public Member Functions inherited from ilPageObjectGUI | |
| __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 | |
| isPageContainerToBeRendered () | |
Protected Member Functions inherited from ilPageObjectGUI | |
| 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... | |
Private Attributes | |
| $originalPresentationTitle = '' | |
| $questionInfoHTML = '' | |
| $questionActionsHTML = '' | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Question page GUI class
@ilCtrl_Calls ilAssQuestionPageGUI: ilPageEditorGUI, ilEditClipboardGUI, ilMDEditorGUI @ilCtrl_Calls ilAssQuestionPageGUI: ilPublicUserProfileGUI, ilNoteGUI @ilCtrl_Calls ilAssQuestionPageGUI: ilPropertyFormGUI, ilInternalLinkGUI
Definition at line 33 of file class.ilAssQuestionPageGUI.php.
| ilAssQuestionPageGUI::__construct | ( | $a_id = 0, |
|
$a_old_nr = 0 |
|||
| ) |
Constructor.
| int | $a_id | |
| int | $a_old_nr |
Reimplemented in ilTestExpressPageObjectGUI.
Definition at line 48 of file class.ilAssQuestionPageGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ilPageObjectGUI\setEnabledPageFocus(), and ilPageObjectGUI\setFileDownloadLink().
Here is the call graph for this function:| ilAssQuestionPageGUI::finishEditing | ( | ) |
Reimplemented from ilPageObjectGUI.
Definition at line 98 of file class.ilAssQuestionPageGUI.php.
References ilAssQuestionPreviewGUI\CMD_SHOW, and ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilAssQuestionPageGUI::getOriginalPresentationTitle | ( | ) |
Definition at line 68 of file class.ilAssQuestionPageGUI.php.
References $originalPresentationTitle.
Referenced by postOutputProcessing().
Here is the caller graph for this function:| ilAssQuestionPageGUI::insertPageToc | ( | string | $a_output | ) |
Replace page toc placeholder with question info and actions.
Reimplemented from ilPageObjectGUI.
Definition at line 141 of file class.ilAssQuestionPageGUI.php.
References ilPageObjectGUI\$tpl, ilGlobalTemplateInterface\get(), and ilGlobalTemplateInterface\setVariable().
Here is the call graph for this function:
|
protected |
Reimplemented from ilPageObjectGUI.
Definition at line 78 of file class.ilAssQuestionPageGUI.php.
References ilPageObjectGUI\getRenderPageContainer().
Here is the call graph for this function:| ilAssQuestionPageGUI::postOutputProcessing | ( | string | $a_output | ) |
Finalizing output processing.
Maybe overwritten in derived classes, e.g. in wiki module.
Reimplemented from ilPageObjectGUI.
Definition at line 103 of file class.ilAssQuestionPageGUI.php.
References getOriginalPresentationTitle().
Here is the call graph for this function:| ilAssQuestionPageGUI::setOriginalPresentationTitle | ( | $originalPresentationTitle | ) |
Definition at line 73 of file class.ilAssQuestionPageGUI.php.
References $originalPresentationTitle.
Referenced by showPage().
Here is the caller graph for this function:| ilAssQuestionPageGUI::setQuestionActionsHTML | ( | $a_html | ) |
Set the HTML of a question actions block below the title.
| string | $a_html |
Definition at line 131 of file class.ilAssQuestionPageGUI.php.
| ilAssQuestionPageGUI::setQuestionInfoHTML | ( | $a_html | ) |
Set the HTML of a question info block below the title (number, status, ...)
| string | $a_html |
Definition at line 122 of file class.ilAssQuestionPageGUI.php.
| ilAssQuestionPageGUI::showPage | ( | ) |
display content of page
Reimplemented from ilPageObjectGUI.
Definition at line 83 of file class.ilAssQuestionPageGUI.php.
References $config, ilPageObjectGUI\getPageConfig(), ilPageObjectGUI\getPresentationTitle(), setOriginalPresentationTitle(), ilPageObjectGUI\setPageConfig(), and ilPageObjectGUI\setPresentationTitle().
Referenced by ilTestExpressPageObjectGUI\executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 37 of file class.ilAssQuestionPageGUI.php.
Referenced by getOriginalPresentationTitle(), and setOriginalPresentationTitle().
|
private |
Definition at line 39 of file class.ilAssQuestionPageGUI.php.
|
private |
Definition at line 38 of file class.ilAssQuestionPageGUI.php.
| const ilAssQuestionPageGUI::TEMP_PRESENTATION_TITLE_PLACEHOLDER = '___TEMP_PRESENTATION_TITLE_PLACEHOLDER___' |
Definition at line 35 of file class.ilAssQuestionPageGUI.php.