|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Survey execution graphical output. More...
Collaboration diagram for ilSurveyExecutionGUI:Public Member Functions | |
| __construct ($a_object) | |
| ilSurveyExecutionGUI constructor More... | |
| executeCommand () | |
| execute command More... | |
| getCommand ($cmd) | |
| Retrieves the ilCtrl command. More... | |
| resume () | |
| Resumes the survey. More... | |
| start ($resume=false) | |
| Starts the survey. More... | |
| redirectQuestion () | |
| Called when a user answered a page to perform a redirect after POST. More... | |
| previousNoSave () | |
| previous ($a_save_input=true) | |
| Navigates to the previous pages. More... | |
| next () | |
| Navigates to the next pages. More... | |
| gotoPage () | |
| Go to a specific page without saving. More... | |
| outSurveyPage ($activepage=NULL, $direction=NULL) | |
| Output of the active survey question to the screen. More... | |
| saveUserInput ($navigationDirection="next") | |
| Save the user's input. More... | |
| saveActiveQuestionData (&$data) | |
| Survey navigation. More... | |
| cancel () | |
| Called on cancel. More... | |
| runShowFinishedPage () | |
| Creates the finished page for a running survey. More... | |
| backToRepository () | |
| exitSurvey () | |
| Exits the survey after finishing it. More... | |
| outNavigationButtons ($navigationblock="top", $page) | |
| Creates the navigation buttons for a survey. More... | |
| preview () | |
| viewUserResults () | |
| mailUserResults () | |
| showFinishConfirmation () | |
| confirmedFinish () | |
Data Fields | |
| $object | |
| $lng | |
| $tpl | |
| $ctrl | |
| $tree | |
| $preview | |
Protected Member Functions | |
| checkAuth ($a_may_start=false, $a_ignore_status=false) | |
Protected Attributes | |
| $log | |
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::__construct | ( | $a_object | ) |
ilSurveyExecutionGUI constructor
The constructor takes possible arguments an creates an instance of the ilSurveyExecutionGUI object.
| object | $a_object | Associated ilObjSurvey class @access public |
Definition at line 57 of file class.ilSurveyExecutionGUI.php.
References $_SESSION, $ilCtrl, $lng, $tpl, $tree, ilLoggerFactory\getLogger(), preview(), and ilObjSurvey\validateExternalRaterCode().
Here is the call graph for this function:| ilSurveyExecutionGUI::backToRepository | ( | ) |
Definition at line 808 of file class.ilSurveyExecutionGUI.php.
References $tree, ilLink\_getLink(), and ilUtil\redirect().
Referenced by exitSurvey(), mailUserResults(), and viewUserResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyExecutionGUI::cancel | ( | ) |
Called on cancel.
Called on cancel
@access private
Definition at line 709 of file class.ilSurveyExecutionGUI.php.
|
protected |
Definition at line 110 of file class.ilSurveyExecutionGUI.php.
References $_SESSION, $ilUser, preview(), ilUtil\sendFailure(), and sprintf.
Referenced by mailUserResults(), outSurveyPage(), start(), and viewUserResults().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyExecutionGUI::confirmedFinish | ( | ) |
Definition at line 956 of file class.ilSurveyExecutionGUI.php.
References $_SESSION, $ilUser, ilLPStatusWrapper\_updateStatus(), and preview().
Here is the call graph for this function:| ilSurveyExecutionGUI::executeCommand | ( | ) |
execute command
Definition at line 87 of file class.ilSurveyExecutionGUI.php.
References $_GET, $cmd, $ret, and getCommand().
Here is the call graph for this function:| ilSurveyExecutionGUI::exitSurvey | ( | ) |
Exits the survey after finishing it.
Exits the survey after finishing it
@access public
Definition at line 834 of file class.ilSurveyExecutionGUI.php.
References backToRepository(), and preview().
Referenced by runShowFinishedPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyExecutionGUI::getCommand | ( | $cmd | ) |
Retrieves the ilCtrl command.
Retrieves the ilCtrl command
@access public
Definition at line 222 of file class.ilSurveyExecutionGUI.php.
References $cmd.
Referenced by executeCommand().
Here is the caller graph for this function:| ilSurveyExecutionGUI::gotoPage | ( | ) |
Go to a specific page without saving.
@access private
Definition at line 357 of file class.ilSurveyExecutionGUI.php.
References $_GET.
| ilSurveyExecutionGUI::mailUserResults | ( | ) |
Definition at line 910 of file class.ilSurveyExecutionGUI.php.
References $_POST, $_SESSION, $ilUser, backToRepository(), checkAuth(), ilUtil\is_email(), and ilUtil\sendSuccess().
Here is the call graph for this function:| ilSurveyExecutionGUI::next | ( | ) |
Navigates to the next pages.
@access private
Definition at line 336 of file class.ilSurveyExecutionGUI.php.
References $_GET, $result, and saveUserInput().
Here is the call graph for this function:| 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.
@access public
Definition at line 857 of file class.ilSurveyExecutionGUI.php.
Referenced by outSurveyPage().
Here is the caller graph for this function:| ilSurveyExecutionGUI::outSurveyPage | ( | $activepage = NULL, |
|
$direction = NULL |
|||
| ) |
Output of the active survey question to the screen.
Output of the active survey question to the screen
@access private
Definition at line 372 of file class.ilSurveyExecutionGUI.php.
References $_SESSION, $data, $error_messages, $ilUser, ilLearningProgress\_tracProgress(), checkAuth(), ilProgressBar\getInstance(), ilUserUtil\getNamePresentation(), outNavigationButtons(), preview(), runShowFinishedPage(), and showFinishConfirmation().
Referenced by preview(), and redirectQuestion().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyExecutionGUI::preview | ( | ) |
Definition at line 883 of file class.ilSurveyExecutionGUI.php.
References outSurveyPage().
Referenced by __construct(), checkAuth(), confirmedFinish(), exitSurvey(), outSurveyPage(), runShowFinishedPage(), saveActiveQuestionData(), saveUserInput(), and start().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyExecutionGUI::previous | ( | $a_save_input = true | ) |
Navigates to the previous pages.
Navigates to the previous pages
@access private
Definition at line 311 of file class.ilSurveyExecutionGUI.php.
References $_GET, and saveUserInput().
Referenced by previousNoSave().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyExecutionGUI::previousNoSave | ( | ) |
Definition at line 299 of file class.ilSurveyExecutionGUI.php.
References previous().
Here is the call graph for this function:| 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.
@access public
Definition at line 276 of file class.ilSurveyExecutionGUI.php.
References $_GET, and outSurveyPage().
Here is the call graph for this function:| ilSurveyExecutionGUI::resume | ( | ) |
Resumes the survey.
Resumes the survey
@access private
Definition at line 234 of file class.ilSurveyExecutionGUI.php.
References start().
Here is the call graph for this function:| ilSurveyExecutionGUI::runShowFinishedPage | ( | ) |
Creates the finished page for a running survey.
Creates the finished page for a running survey
@access public
Definition at line 721 of file class.ilSurveyExecutionGUI.php.
References $ilUser, ilObjSurveyAccess\_hasEvaluationAccess(), exitSurvey(), ilLinkButton\getInstance(), ilSubmitButton\getInstance(), ilPanelGUI\getInstance(), and preview().
Referenced by outSurveyPage().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyExecutionGUI::saveActiveQuestionData | ( | & | $data | ) |
Survey navigation.
Survey navigation
@access private Saves the users input of the active page
Saves the users input of the active page
@access private
Definition at line 672 of file class.ilSurveyExecutionGUI.php.
References $_POST, $_SESSION, $data, $error, $ilUser, SurveyQuestion\_instanciateQuestion(), and preview().
Referenced by saveUserInput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyExecutionGUI::saveUserInput | ( | $navigationDirection = "next" | ) |
Save the user's input.
@access private
Definition at line 572 of file class.ilSurveyExecutionGUI.php.
References $_GET, $_POST, $_SESSION, $data, preview(), saveActiveQuestionData(), and ilUtil\sendFailure().
Referenced by next(), and previous().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyExecutionGUI::showFinishConfirmation | ( | ) |
Definition at line 941 of file class.ilSurveyExecutionGUI.php.
References $tpl.
Referenced by outSurveyPage().
Here is the caller graph for this function:| ilSurveyExecutionGUI::start | ( | $resume = false | ) |
Starts the survey.
Starts the survey
@access private
Definition at line 246 of file class.ilSurveyExecutionGUI.php.
References $_SESSION, checkAuth(), and preview().
Referenced by resume().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSurveyExecutionGUI::viewUserResults | ( | ) |
Definition at line 888 of file class.ilSurveyExecutionGUI.php.
References $_SESSION, $html, backToRepository(), checkAuth(), and ilLinkButton\getInstance().
Here is the call graph for this function:| ilSurveyExecutionGUI::$ctrl |
Definition at line 40 of file class.ilSurveyExecutionGUI.php.
| ilSurveyExecutionGUI::$lng |
Definition at line 38 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct().
|
protected |
Definition at line 47 of file class.ilSurveyExecutionGUI.php.
| ilSurveyExecutionGUI::$object |
Definition at line 37 of file class.ilSurveyExecutionGUI.php.
| ilSurveyExecutionGUI::$preview |
Definition at line 42 of file class.ilSurveyExecutionGUI.php.
| ilSurveyExecutionGUI::$tpl |
Definition at line 39 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct(), and showFinishConfirmation().
| ilSurveyExecutionGUI::$tree |
Definition at line 41 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct(), and backToRepository().