ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
nextQuestion () | |
prevQuestion () | |
__construct ($a_id=0, $a_old_nr=0) | |
executeCommand () | |
addPageOfQuestions ($type='') | |
handleToolbarCommand () | |
addQuestion () | |
questions () | |
insertQuestions () | |
![]() | |
__construct ($a_id=0, $a_old_nr=0) | |
Constructor. More... | |
getOriginalPresentationTitle () | |
setOriginalPresentationTitle ($originalPresentationTitle) | |
showPage () | |
finishEditing () | |
postOutputProcessing (string $a_output) | |
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... | |
![]() | |
__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... | |
Private Member Functions | |
redirectToQuestionEditPage ($questionType, $qid, $prev_qid) | |
redirectToQuestionPoolSelectionPage ($questionType, $qid, $prev_qid) | |
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 ilTestExpressPageObjectGUI: assMultipleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI ilTestExpressPageObjectGUI: assOrderingQuestionGUI, assImagemapQuestionGUI ilTestExpressPageObjectGUI: assNumericGUI ilTestExpressPageObjectGUI: assTextSubsetGUI ilTestExpressPageObjectGUI: assSingleChoiceGUI ilTestExpressPageObjectGUI: assTextQuestionGUI, assFormulaQuestionGUI ilTestExpressPageObjectGUI: ilPageEditorGUI, ilEditClipboardGUI, ilMediaPoolTargetSelector ilTestExpressPageObjectGUI: ilRatingGUI, ilPublicUserProfileGUI, ilAssQuestionPageGUI, ilNoteGUI ilTestExpressPageObjectGUI: ilObjQuestionPoolGUI ilTestExpressPageObjectGUI: assMultipleChoiceGUI, assClozeTestGUI, assMatchingQuestionGUI ilTestExpressPageObjectGUI: assOrderingQuestionGUI, assImagemapQuestionGUI ilTestExpressPageObjectGUI: assNumericGUI ilTestExpressPageObjectGUI: assTextSubsetGUI ilTestExpressPageObjectGUI: assSingleChoiceGUI ilTestExpressPageObjectGUI: assTextQuestionGUI, assFormulaQuestionGUI
Definition at line 36 of file class.ilTestExpressPageObjectGUI.php.
ilTestExpressPageObjectGUI::__construct | ( | $a_id = 0 , |
|
$a_old_nr = 0 |
|||
) |
Definition at line 78 of file class.ilTestExpressPageObjectGUI.php.
References ILIAS\GlobalScreen\Provider\__construct().
ilTestExpressPageObjectGUI::addPageOfQuestions | ( | $type = '' | ) |
Definition at line 230 of file class.ilTestExpressPageObjectGUI.php.
References $DIC, ilPageObjectGUI\$obj, $type, assQuestionGUI\_getQuestionGUI(), ILIAS\Repository\ctrl(), ilPageObject\getId(), ilObjectFactory\getInstanceByRefId(), and ilObjQuestionPool\getQuestionTypeByTypeId().
Referenced by executeCommand().
ilTestExpressPageObjectGUI::addQuestion | ( | ) |
Definition at line 348 of file class.ilTestExpressPageObjectGUI.php.
References $data, $DIC, ilPageObjectGUI\$form, ILIAS\LTI\ToolProvider\$key, ilPageObjectGUI\$lng, $name, ilPageObjectGUI\$tpl, ilObjQuestionPool\_getAvailableQuestionpools(), ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_IPE, assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_RTE, ilPropertyFormGUI\getHTML(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilPropertyFormGUI\setTitle(), and ilLanguage\txt().
ilTestExpressPageObjectGUI::executeCommand | ( | ) |
Definition at line 83 of file class.ilTestExpressPageObjectGUI.php.
References $DIC, $ilUser, ilPageObjectGUI\$lng, $message, ilPageObjectGUI\$obj, $params, $type, assQuestionGUI\_getQuestionGUI(), addPageOfQuestions(), ilUtil\appendUrlParameterString(), ILIAS\Repository\ctrl(), ilPageObjectGUI\EDIT, ilPageObjectGUI\getEnableEditing(), ilPageObjectGUI\getHeader(), ilPageObject\getId(), ilObjectFactory\getInstanceByRefId(), ilPageObjectGUI\getPageObject(), ilObjQuestionPool\getQuestionTypeByTypeId(), ilPageObjectGUI\PREVIEW, ilUtil\redirect(), ilPageObjectGUI\setOutputMode(), ilAssQuestionPageGUI\showPage(), ilUtil\stripSlashes(), and ilLanguage\txt().
ilTestExpressPageObjectGUI::handleToolbarCommand | ( | ) |
Definition at line 253 of file class.ilTestExpressPageObjectGUI.php.
References $DIC, assQuestionGUI\_getQuestionGUI(), ilObject\_lookupObjectId(), assQuestion\ADDITIONAL_CONTENT_EDITING_MODE_RTE, ilObjQuestionPool\getQuestionTypeByTypeId(), ilObjAssessmentFolder\isAdditionalQuestionContentEditingModePageObjectEnabled(), ilUtil\redirect(), and redirectToQuestionEditPage().
ilTestExpressPageObjectGUI::insertQuestions | ( | ) |
Definition at line 506 of file class.ilTestExpressPageObjectGUI.php.
References $DIC, $ilDB, ILIAS\LTI\ToolProvider\$key, assQuestion\_needsManualScoring(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilTestExpressPageObjectGUI::nextQuestion | ( | ) |
Definition at line 40 of file class.ilTestExpressPageObjectGUI.php.
References ilPageObjectGUI\$obj, ILIAS\Repository\ctrl(), and ilUtil\redirect().
ilTestExpressPageObjectGUI::prevQuestion | ( | ) |
Definition at line 59 of file class.ilTestExpressPageObjectGUI.php.
References ilPageObjectGUI\$obj, ILIAS\Repository\ctrl(), and ilUtil\redirect().
ilTestExpressPageObjectGUI::questions | ( | ) |
|
private |
Definition at line 474 of file class.ilTestExpressPageObjectGUI.php.
References ILIAS\Repository\ctrl().
Referenced by handleToolbarCommand().
|
private |
Definition at line 495 of file class.ilTestExpressPageObjectGUI.php.
References ILIAS\Repository\ctrl(), and ilUtil\redirect().
ilTestExpressPageObjectGUI::$test_object |
Definition at line 38 of file class.ilTestExpressPageObjectGUI.php.