| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Survey execution graphical output. More...
 Collaboration diagram for ilSurveyExecutionGUI:
 Collaboration diagram for ilSurveyExecutionGUI:| 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. | |
| previous () | |
| 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. | |
| navigate ($navigationDirection="next") | |
| Survey navigation. | |
| saveActiveQuestionData (&$data) | |
| Saves the users input of the active page. | |
| cancel () | |
| Called on cancel. | |
| runShowFinishedPage () | |
| Creates the finished page for a running survey. | |
| exitSurvey () | |
| Exits the survey after finishing it. | |
| outNavigationButtons ($navigationblock="top", $page) | |
| Creates the navigation buttons for a survey. | |
| Data Fields | |
| $object | |
| $lng | |
| $tpl | |
| $ctrl | |
| $ilias | |
| $tree | |
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 37 of file class.ilSurveyExecutionGUI.php.
| ilSurveyExecutionGUI::cancel | ( | ) | 
Called on cancel.
Called on cancel
private
Definition at line 578 of file class.ilSurveyExecutionGUI.php.
| & ilSurveyExecutionGUI::executeCommand | ( | ) | 
execute command
Definition at line 69 of file class.ilSurveyExecutionGUI.php.
References $_GET, $cmd, $ret, and getCommand().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSurveyExecutionGUI::exitSurvey | ( | ) | 
Exits the survey after finishing it.
Exits the survey after finishing it
public
Definition at line 613 of file class.ilSurveyExecutionGUI.php.
| ilSurveyExecutionGUI::getCommand | ( | $cmd | ) | 
Retrieves the ilCtrl command.
Retrieves the ilCtrl command
public
Definition at line 96 of file class.ilSurveyExecutionGUI.php.
References $cmd.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::gotoPage | ( | ) | 
Go to a specific page without saving.
private
Definition at line 271 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 54 of file class.ilSurveyExecutionGUI.php.
| ilSurveyExecutionGUI::navigate | ( | $navigationDirection = "next" | ) | 
Survey navigation.
Survey navigation
private
Definition at line 475 of file class.ilSurveyExecutionGUI.php.
References $_GET, $_SESSION, $data, outSurveyPage(), saveActiveQuestionData(), and ilUtil\sendFailure().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSurveyExecutionGUI::next | ( | ) | 
Navigates to the next pages.
private
Definition at line 250 of file class.ilSurveyExecutionGUI.php.
References $_GET, $result, and saveUserInput().
 Here is the call graph for this function:
 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.
public
Definition at line 627 of file class.ilSurveyExecutionGUI.php.
Referenced by outSurveyPage().
 Here is the caller graph for this function:
 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
private
Definition at line 286 of file class.ilSurveyExecutionGUI.php.
References $_SESSION, $data, ilUtil\getImagePath(), outNavigationButtons(), runShowFinishedPage(), and ilUtil\sendInfo().
Referenced by navigate(), and redirectQuestion().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::previous | ( | ) | 
Navigates to the previous pages.
Navigates to the previous pages
private
Definition at line 229 of file class.ilSurveyExecutionGUI.php.
References $_GET, $result, and saveUserInput().
 Here is the call graph for this function:
 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.
public
Definition at line 198 of file class.ilSurveyExecutionGUI.php.
References $_GET, and outSurveyPage().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSurveyExecutionGUI::resume | ( | ) | 
Resumes the survey.
Resumes the survey
private
Definition at line 108 of file class.ilSurveyExecutionGUI.php.
References start().
 Here is the call graph for this function:
 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
public
Definition at line 590 of file class.ilSurveyExecutionGUI.php.
References $_SESSION.
Referenced by outSurveyPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::saveActiveQuestionData | ( | & | $data | ) | 
Saves the users input of the active page.
Saves the users input of the active page
private
Definition at line 540 of file class.ilSurveyExecutionGUI.php.
References $_POST, $_SESSION, $data, and SurveyQuestion\_instanciateQuestion().
Referenced by navigate(), and saveUserInput().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::saveUserInput | ( | $navigationDirection = "next" | ) | 
Save the user's input.
private
Definition at line 428 of file class.ilSurveyExecutionGUI.php.
References $_GET, $_POST, $_SESSION, $data, saveActiveQuestionData(), and ilUtil\sendFailure().
Referenced by next(), and previous().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::start | ( | $resume = false | ) | 
Starts the survey.
Starts the survey
private
Definition at line 120 of file class.ilSurveyExecutionGUI.php.
References $_POST, $_SESSION, and ilUtil\sendFailure().
Referenced by resume().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::$ctrl | 
Definition at line 42 of file class.ilSurveyExecutionGUI.php.
| ilSurveyExecutionGUI::$ilias | 
Definition at line 43 of file class.ilSurveyExecutionGUI.php.
Referenced by ilSurveyExecutionGUI().
| ilSurveyExecutionGUI::$lng | 
Definition at line 40 of file class.ilSurveyExecutionGUI.php.
Referenced by ilSurveyExecutionGUI().
| ilSurveyExecutionGUI::$object | 
Definition at line 39 of file class.ilSurveyExecutionGUI.php.
| ilSurveyExecutionGUI::$tpl | 
Definition at line 41 of file class.ilSurveyExecutionGUI.php.
Referenced by ilSurveyExecutionGUI().
| ilSurveyExecutionGUI::$tree | 
Definition at line 44 of file class.ilSurveyExecutionGUI.php.
Referenced by ilSurveyExecutionGUI().