ILIAS
Release_5_0_x_branch Revision 61816
|
Survey execution graphical output. More...
Public Member Functions | |
ilSurveyExecutionGUI ($a_object) | |
ilSurveyExecutionGUI constructor | |
& | executeCommand () |
execute command | |
getCommand ($cmd) | |
Retrieves the ilCtrl command. | |
resume () | |
Resumes the survey. | |
start ($resume=false) | |
Starts the survey. | |
redirectQuestion () | |
Called when a user answered a page to perform a redirect after POST. | |
previousNoSave () | |
previous ($a_save_input=true) | |
Navigates to the previous pages. | |
next () | |
Navigates to the next pages. | |
gotoPage () | |
Go to a specific page without saving. | |
outSurveyPage ($activepage=NULL, $direction=NULL) | |
Output of the active survey question to the screen. | |
saveUserInput ($navigationDirection="next") | |
Save the user's input. | |
saveActiveQuestionData (&$data) | |
Survey navigation. | |
cancel () | |
Called on cancel. | |
runShowFinishedPage () | |
Creates the finished page for a running survey. | |
backToRepository () | |
exitSurvey () | |
Exits the survey after finishing it. | |
outNavigationButtons ($navigationblock="top", $page) | |
Creates the navigation buttons for a survey. | |
preview () | |
viewUserResults () | |
mailUserResults () | |
showFinishConfirmation () | |
confirmedFinish () |
Data Fields | |
$object | |
$lng | |
$tpl | |
$ctrl | |
$ilias | |
$tree | |
$preview |
Protected Member Functions | |
checkAuth ($a_may_start=false, $a_ignore_status=false) |
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 35 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::backToRepository | ( | ) |
Definition at line 778 of file class.ilSurveyExecutionGUI.php.
References $tree, ilLink\_getLink(), and ilUtil\redirect().
Referenced by exitSurvey(), mailUserResults(), and viewUserResults().
ilSurveyExecutionGUI::cancel | ( | ) |
Called on cancel.
Called on cancel
private
Definition at line 691 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 102 of file class.ilSurveyExecutionGUI.php.
References $_REQUEST, $_SESSION, $ilUser, preview(), and ilUtil\sendFailure().
Referenced by mailUserResults(), outSurveyPage(), start(), and viewUserResults().
ilSurveyExecutionGUI::confirmedFinish | ( | ) |
Definition at line 920 of file class.ilSurveyExecutionGUI.php.
References $_SESSION, $ilUser, and preview().
& ilSurveyExecutionGUI::executeCommand | ( | ) |
execute command
Definition at line 82 of file class.ilSurveyExecutionGUI.php.
References $_GET, $cmd, $ret, and getCommand().
ilSurveyExecutionGUI::exitSurvey | ( | ) |
Exits the survey after finishing it.
Exits the survey after finishing it
public
Definition at line 804 of file class.ilSurveyExecutionGUI.php.
References $_REQUEST, backToRepository(), and preview().
Referenced by runShowFinishedPage().
ilSurveyExecutionGUI::getCommand | ( | $cmd | ) |
Retrieves the ilCtrl command.
Retrieves the ilCtrl command
public
Definition at line 212 of file class.ilSurveyExecutionGUI.php.
References $cmd.
Referenced by executeCommand().
ilSurveyExecutionGUI::gotoPage | ( | ) |
Go to a specific page without saving.
private
Definition at line 347 of file class.ilSurveyExecutionGUI.php.
References $_GET.
ilSurveyExecutionGUI::ilSurveyExecutionGUI | ( | $a_object | ) |
ilSurveyExecutionGUI constructor
The constructor takes possible arguments an creates an instance of the ilSurveyExecutionGUI object.
object | $a_object | Associated ilObjSurvey class public |
Definition at line 53 of file class.ilSurveyExecutionGUI.php.
References $_REQUEST, $_SESSION, $ilCtrl, $ilias, $lng, $tpl, $tree, preview(), and ilObjSurvey\validateExternalRaterCode().
ilSurveyExecutionGUI::mailUserResults | ( | ) |
Definition at line 880 of file class.ilSurveyExecutionGUI.php.
References $_POST, $_SESSION, backToRepository(), checkAuth(), ilUtil\is_email(), and ilUtil\sendSuccess().
ilSurveyExecutionGUI::next | ( | ) |
Navigates to the next pages.
private
Definition at line 326 of file class.ilSurveyExecutionGUI.php.
References $_GET, $result, and saveUserInput().
ilSurveyExecutionGUI::outNavigationButtons | ( | $navigationblock = "top" , |
|
$page | |||
) |
Creates the navigation buttons for a survey.
Creates the navigation buttons for a survey. Runs twice to generate a top and a bottom navigation to ease the use of long forms.
public
Definition at line 827 of file class.ilSurveyExecutionGUI.php.
Referenced by outSurveyPage().
ilSurveyExecutionGUI::outSurveyPage | ( | $activepage = NULL , |
|
$direction = NULL |
|||
) |
Output of the active survey question to the screen.
Output of the active survey question to the screen
private
Definition at line 362 of file class.ilSurveyExecutionGUI.php.
References $_REQUEST, $_SESSION, $error_messages, $ilUser, checkAuth(), ilProgressBar\getInstance(), ilUserUtil\getNamePresentation(), outNavigationButtons(), preview(), runShowFinishedPage(), and showFinishConfirmation().
Referenced by preview(), and redirectQuestion().
ilSurveyExecutionGUI::preview | ( | ) |
Definition at line 853 of file class.ilSurveyExecutionGUI.php.
References outSurveyPage().
Referenced by checkAuth(), confirmedFinish(), exitSurvey(), ilSurveyExecutionGUI(), outSurveyPage(), runShowFinishedPage(), saveActiveQuestionData(), saveUserInput(), and start().
ilSurveyExecutionGUI::previous | ( | $a_save_input = true | ) |
Navigates to the previous pages.
Navigates to the previous pages
private
Definition at line 301 of file class.ilSurveyExecutionGUI.php.
References $_GET, and saveUserInput().
Referenced by previousNoSave().
ilSurveyExecutionGUI::previousNoSave | ( | ) |
Definition at line 289 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.
public
Definition at line 266 of file class.ilSurveyExecutionGUI.php.
References $_GET, and outSurveyPage().
ilSurveyExecutionGUI::resume | ( | ) |
Resumes the survey.
Resumes the survey
private
Definition at line 224 of file class.ilSurveyExecutionGUI.php.
References start().
ilSurveyExecutionGUI::runShowFinishedPage | ( | ) |
Creates the finished page for a running survey.
Creates the finished page for a running survey
public
Definition at line 703 of file class.ilSurveyExecutionGUI.php.
References $ilUser, exitSurvey(), ilSubmitButton\getInstance(), ilLinkButton\getInstance(), ilPanelGUI\getInstance(), preview(), and ilTextInputGUI\setSize().
Referenced by outSurveyPage().
ilSurveyExecutionGUI::saveActiveQuestionData | ( | & | $data | ) |
Survey navigation.
Survey navigation
private Saves the users input of the active page
Saves the users input of the active page
private
Definition at line 654 of file class.ilSurveyExecutionGUI.php.
References $_POST, $_SESSION, $ilUser, SurveyQuestion\_instanciateQuestion(), and preview().
Referenced by saveUserInput().
ilSurveyExecutionGUI::saveUserInput | ( | $navigationDirection = "next" | ) |
Save the user's input.
private
Definition at line 554 of file class.ilSurveyExecutionGUI.php.
References $_GET, $_POST, $_SESSION, preview(), saveActiveQuestionData(), and ilUtil\sendFailure().
Referenced by next(), and previous().
ilSurveyExecutionGUI::showFinishConfirmation | ( | ) |
Definition at line 905 of file class.ilSurveyExecutionGUI.php.
References $tpl.
Referenced by outSurveyPage().
ilSurveyExecutionGUI::start | ( | $resume = false | ) |
Starts the survey.
Starts the survey
private
Definition at line 236 of file class.ilSurveyExecutionGUI.php.
References $_SESSION, checkAuth(), and preview().
Referenced by resume().
ilSurveyExecutionGUI::viewUserResults | ( | ) |
Definition at line 858 of file class.ilSurveyExecutionGUI.php.
References $_SESSION, backToRepository(), checkAuth(), and ilLinkButton\getInstance().
ilSurveyExecutionGUI::$ctrl |
Definition at line 40 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::$ilias |
Definition at line 41 of file class.ilSurveyExecutionGUI.php.
Referenced by ilSurveyExecutionGUI().
ilSurveyExecutionGUI::$lng |
Definition at line 38 of file class.ilSurveyExecutionGUI.php.
Referenced by ilSurveyExecutionGUI().
ilSurveyExecutionGUI::$object |
Definition at line 37 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::$preview |
Definition at line 43 of file class.ilSurveyExecutionGUI.php.
ilSurveyExecutionGUI::$tpl |
Definition at line 39 of file class.ilSurveyExecutionGUI.php.
Referenced by ilSurveyExecutionGUI(), and showFinishConfirmation().
ilSurveyExecutionGUI::$tree |
Definition at line 42 of file class.ilSurveyExecutionGUI.php.
Referenced by backToRepository(), and ilSurveyExecutionGUI().