ILIAS
release_8 Revision v8.19
|
Survey execution graphical output. More...
Public Member Functions | |
__construct (ilObjSurvey $a_object) | |
executeCommand () | |
resume () | |
start (bool $resume=false) | |
redirectQuestion () | |
Called when a user answered a page to perform a redirect after POST. More... | |
previousNoSave () | |
previous (bool $a_save_input=true) | |
next () | |
Navigates to the next page. More... | |
gotoPage () | |
Go to a specific page without saving. More... | |
outSurveyPage (int $activepage=0, int $direction=0) | |
Output of the active survey question to the screen. More... | |
saveUserInput (string $navigationDirection="next") | |
Save the user's input. More... | |
saveActiveQuestionData (array $data) | |
Saves the users input of the active page. More... | |
cancel () | |
runShowFinishedPage () | |
Show finish page. More... | |
backToRepository () | |
exitSurvey () | |
Exits the survey after finishing it. More... | |
outNavigationButtons (string $navigationblock, array $page, ilTemplate $stpl) | |
preview () | |
viewUserResults () | |
mailUserResults () | |
showFinishConfirmation () | |
confirmedFinish () | |
Protected Member Functions | |
checkAuth (bool $a_may_start=false, bool $a_ignore_status=false) | |
getCurrentRunId () | |
Protected Attributes | |
array | $raw_post_data |
ILIAS Survey Execution ExecutionGUIRequest | $request |
ilRbacSystem | $rbacsystem |
ilObjUser | $user |
ilHelpGUI | $help |
ilToolbarGUI | $toolbar |
ilObjSurvey | $object |
ilLanguage | $lng |
ilGlobalTemplateInterface | $tpl |
ilCtrl | $ctrl |
ilTree | $tree |
bool | $preview |
ilLogger | $log |
ILIAS Survey Execution RunManager | $run_manager |
ILIAS Survey Participants StatusManager | $participant_manager |
ILIAS Survey Access AccessManager | $access_manager |
int | $requested_appr_id |
Mode FeatureConfig | $feature_config |
Survey execution graphical output.
The ilSurveyExecutionGUI class creates the execution output for the ilObjSurveyGUI class. This saves some heap space because the ilObjSurveyGUI class will be smaller.
Definition at line 30 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::__construct | ( | ilObjSurvey | $a_object | ) |
Definition at line 54 of file class.ilSurveyExecutionGUI.php.
References $DIC, $lng, $requested_appr_id, $tpl, $tree, ILIAS\Repository\ctrl(), ilLoggerFactory\getLogger(), ilObjSurvey\getMode(), ilObject\getRefId(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ilObjSurvey\MODE_SELF_EVAL, preview(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
ilSurveyExecutionGUI::backToRepository | ( | ) |
Definition at line 652 of file class.ilSurveyExecutionGUI.php.
References $tree, ilLink\_getLink(), ilTree\getParentId(), ilObjSurvey\MODE_360, ILIAS\Repository\object(), and ilUtil\redirect().
Referenced by exitSurvey(), mailUserResults(), and viewUserResults().
ilSurveyExecutionGUI::cancel | ( | ) |
Definition at line 568 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 146 of file class.ilSurveyExecutionGUI.php.
References $ilUser, $rbacsystem, $requested_appr_id, $user, ANONYMOUS_USER_ID, ilRbacSystem\checkAccess(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilObjSurvey\MODE_SELF_EVAL, ILIAS\Repository\object(), and preview().
Referenced by mailUserResults(), outSurveyPage(), start(), and viewUserResults().
ilSurveyExecutionGUI::confirmedFinish | ( | ) |
Definition at line 771 of file class.ilSurveyExecutionGUI.php.
References $ilUser, $requested_appr_id, $user, ilLPStatusWrapper\_updateStatus(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), getCurrentRunId(), ILIAS\Repository\object(), and preview().
ilSurveyExecutionGUI::executeCommand | ( | ) |
Definition at line 115 of file class.ilSurveyExecutionGUI.php.
References $GLOBALS, ilChangeEvent\_recordReadEvent(), ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
ilSurveyExecutionGUI::exitSurvey | ( | ) |
Exits the survey after finishing it.
Definition at line 670 of file class.ilSurveyExecutionGUI.php.
References backToRepository(), ILIAS\Repository\ctrl(), and preview().
Referenced by runShowFinishedPage().
|
protected |
Definition at line 503 of file class.ilSurveyExecutionGUI.php.
Referenced by confirmedFinish(), mailUserResults(), outSurveyPage(), saveActiveQuestionData(), start(), and viewUserResults().
ilSurveyExecutionGUI::gotoPage | ( | ) |
Go to a specific page without saving.
Definition at line 335 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyExecutionGUI::mailUserResults | ( | ) |
Definition at line 729 of file class.ilSurveyExecutionGUI.php.
References $ilUser, $user, backToRepository(), checkAuth(), ILIAS\Repository\ctrl(), getCurrentRunId(), ilUtil\is_email(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilSurveyExecutionGUI::next | ( | ) |
Navigates to the next page.
Definition at line 319 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl(), and saveUserInput().
ilSurveyExecutionGUI::outNavigationButtons | ( | string | $navigationblock, |
array | $page, | ||
ilTemplate | $stpl | ||
) |
Definition at line 681 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by outSurveyPage().
ilSurveyExecutionGUI::outSurveyPage | ( | int | $activepage = 0 , |
int | $direction = 0 |
||
) |
Output of the active survey question to the screen.
ilCtrlException | |
ilSurveyException |
Definition at line 348 of file class.ilSurveyExecutionGUI.php.
References $data, $errors, $help, $ilUser, $requested_appr_id, $user, ilLearningProgress\_tracProgress(), ANONYMOUS_USER_ID, checkAuth(), ILIAS\Repository\ctrl(), getCurrentRunId(), ilProgressBar\getInstance(), ilUserUtil\getNamePresentation(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\object(), outNavigationButtons(), preview(), runShowFinishedPage(), ilHelpGUI\setScreenIdComponent(), and showFinishConfirmation().
Referenced by preview(), and redirectQuestion().
ilSurveyExecutionGUI::preview | ( | ) |
Definition at line 704 of file class.ilSurveyExecutionGUI.php.
References outSurveyPage().
Referenced by __construct(), checkAuth(), confirmedFinish(), exitSurvey(), outSurveyPage(), runShowFinishedPage(), saveActiveQuestionData(), saveUserInput(), and start().
ilSurveyExecutionGUI::previous | ( | bool | $a_save_input = true | ) |
Definition at line 298 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl(), and saveUserInput().
Referenced by previousNoSave().
ilSurveyExecutionGUI::previousNoSave | ( | ) |
Definition at line 293 of file class.ilSurveyExecutionGUI.php.
References previous().
ilSurveyExecutionGUI::redirectQuestion | ( | ) |
Called when a user answered a page to perform a redirect after POST.
This is called for security reasons to prevent users sending a form twice.
Definition at line 272 of file class.ilSurveyExecutionGUI.php.
References outSurveyPage().
ilSurveyExecutionGUI::resume | ( | ) |
Definition at line 240 of file class.ilSurveyExecutionGUI.php.
References start().
ilSurveyExecutionGUI::runShowFinishedPage | ( | ) |
Show finish page.
Definition at line 576 of file class.ilSurveyExecutionGUI.php.
References $ilUser, $panel, $toolbar, $user, ilObjSurveyAccess\_hasEvaluationAccess(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), exitSurvey(), ilSubmitButton\getInstance(), ilLinkButton\getInstance(), ilPanelGUI\getInstance(), ILIAS\Repository\lng(), ilObjSurvey\MODE_360, ILIAS\Repository\object(), and preview().
Referenced by outSurveyPage().
ilSurveyExecutionGUI::saveActiveQuestionData | ( | array | $data | ) |
Saves the users input of the active page.
Definition at line 543 of file class.ilSurveyExecutionGUI.php.
References $errors, SurveyQuestion\_instanciateQuestion(), getCurrentRunId(), ILIAS\Repository\object(), and preview().
Referenced by saveUserInput().
ilSurveyExecutionGUI::saveUserInput | ( | string | $navigationDirection = "next" | ) |
Save the user's input.
Definition at line 511 of file class.ilSurveyExecutionGUI.php.
References $data, ILIAS\Repository\lng(), preview(), and saveActiveQuestionData().
Referenced by next(), and previous().
ilSurveyExecutionGUI::showFinishConfirmation | ( | ) |
Definition at line 757 of file class.ilSurveyExecutionGUI.php.
References $tpl, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilGlobalTemplateInterface\setContent().
Referenced by outSurveyPage().
ilSurveyExecutionGUI::start | ( | bool | $resume = false | ) |
Definition at line 245 of file class.ilSurveyExecutionGUI.php.
References checkAuth(), ILIAS\Repository\ctrl(), getCurrentRunId(), and preview().
Referenced by resume().
ilSurveyExecutionGUI::viewUserResults | ( | ) |
Definition at line 709 of file class.ilSurveyExecutionGUI.php.
References $toolbar, backToRepository(), checkAuth(), ILIAS\Repository\ctrl(), getCurrentRunId(), ilLinkButton\getInstance(), and ILIAS\Repository\object().
|
protected |
Definition at line 50 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 44 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 52 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 39 of file class.ilSurveyExecutionGUI.php.
Referenced by outSurveyPage().
|
protected |
Definition at line 42 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 41 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 49 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 46 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 35 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 37 of file class.ilSurveyExecutionGUI.php.
Referenced by checkAuth().
|
protected |
Definition at line 36 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 51 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct(), checkAuth(), confirmedFinish(), and outSurveyPage().
|
protected |
Definition at line 48 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 40 of file class.ilSurveyExecutionGUI.php.
Referenced by runShowFinishedPage(), and viewUserResults().
|
protected |
Definition at line 43 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct(), and showFinishConfirmation().
|
protected |
Definition at line 45 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct(), and backToRepository().
|
protected |
Definition at line 38 of file class.ilSurveyExecutionGUI.php.
Referenced by checkAuth(), confirmedFinish(), mailUserResults(), outSurveyPage(), and runShowFinishedPage().