ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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 | |
ILIAS Survey InternalGUIService | $gui |
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 55 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 671 of file class.ilSurveyExecutionGUI.php.
References ilTree\getParentId(), ilObjSurvey\MODE_360, ILIAS\Repository\object(), and ilUtil\redirect().
ilSurveyExecutionGUI::cancel | ( | ) |
Definition at line 581 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Definition at line 150 of file class.ilSurveyExecutionGUI.php.
References ilRbacSystem\checkAccess(), and ILIAS\Repository\lng().
ilSurveyExecutionGUI::confirmedFinish | ( | ) |
Definition at line 790 of file class.ilSurveyExecutionGUI.php.
References ilLPStatusWrapper\_updateStatus(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and ILIAS\UI\examples\Symbol\Glyph\Preview\preview().
ilSurveyExecutionGUI::executeCommand | ( | ) |
Definition at line 119 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 689 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\UI\examples\Symbol\Glyph\Preview\preview().
|
protected |
Definition at line 516 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::gotoPage | ( | ) |
Go to a specific page without saving.
Definition at line 347 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyExecutionGUI::mailUserResults | ( | ) |
Definition at line 748 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl(), ilUtil\is_email(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
ilSurveyExecutionGUI::next | ( | ) |
Navigates to the next page.
Definition at line 331 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyExecutionGUI::outNavigationButtons | ( | string | $navigationblock, |
array | $page, | ||
ilTemplate | $stpl | ||
) |
Definition at line 700 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\lng(), and HTML_Template_IT\setVariable().
ilSurveyExecutionGUI::outSurveyPage | ( | int | $activepage = 0 , |
int | $direction = 0 |
||
) |
Output of the active survey question to the screen.
ilCtrlException | |
ilSurveyException |
Definition at line 360 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::preview | ( | ) |
Definition at line 723 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct().
ilSurveyExecutionGUI::previous | ( | bool | $a_save_input = true | ) |
Definition at line 310 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::previousNoSave | ( | ) |
Definition at line 305 of file class.ilSurveyExecutionGUI.php.
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 284 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::resume | ( | ) |
Definition at line 252 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::runShowFinishedPage | ( | ) |
Show finish page.
Definition at line 589 of file class.ilSurveyExecutionGUI.php.
References Vendor\Package\$f, $txt, ilObjSurveyAccess\_hasEvaluationAccess(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilObjSurvey\MODE_360, ILIAS\Repository\object(), and ILIAS\UI\examples\Symbol\Glyph\Preview\preview().
ilSurveyExecutionGUI::saveActiveQuestionData | ( | array | $data | ) |
Saves the users input of the active page.
Definition at line 556 of file class.ilSurveyExecutionGUI.php.
References $data, SurveyQuestion\_instanciateQuestion(), ILIAS\Repository\object(), and ILIAS\UI\examples\Symbol\Glyph\Preview\preview().
ilSurveyExecutionGUI::saveUserInput | ( | string | $navigationDirection = "next" | ) |
Save the user's input.
Definition at line 524 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::showFinishConfirmation | ( | ) |
Definition at line 776 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\UICore\GlobalTemplate\setContent().
ilSurveyExecutionGUI::start | ( | bool | $resume = false | ) |
Definition at line 257 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\UI\examples\Symbol\Glyph\Preview\preview().
ilSurveyExecutionGUI::viewUserResults | ( | ) |
Definition at line 728 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\object().
|
protected |
Definition at line 51 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 45 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 53 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 32 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 40 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 43 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct().
|
protected |
Definition at line 48 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 42 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 50 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 47 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 36 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 38 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 37 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 52 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct().
|
protected |
Definition at line 49 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 41 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 44 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct().
|
protected |
Definition at line 46 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilSurveyExecutionGUI.php.