| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Survey execution graphical output. More...
 Collaboration diagram for ilSurveyExecutionGUI: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().
 Here is the call graph for this function:| ilSurveyExecutionGUI::backToRepository | ( | ) | 
Definition at line 662 of file class.ilSurveyExecutionGUI.php.
References $tree, ilTree\getParentId(), ilObjSurvey\MODE_360, ILIAS\Repository\object(), 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 | ( | ) | 
Definition at line 572 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 150 of file class.ilSurveyExecutionGUI.php.
References $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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::confirmedFinish | ( | ) | 
Definition at line 781 of file class.ilSurveyExecutionGUI.php.
References $requested_appr_id, $user, ilLPStatusWrapper\_updateStatus(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), getCurrentRunId(), ILIAS\Repository\object(), and preview().
 Here is the call graph for this function:| ilSurveyExecutionGUI::executeCommand | ( | ) | 
Definition at line 119 of file class.ilSurveyExecutionGUI.php.
References $GLOBALS, ilChangeEvent\_recordReadEvent(), ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
 Here is the call graph for this function:| ilSurveyExecutionGUI::exitSurvey | ( | ) | 
Exits the survey after finishing it.
Definition at line 680 of file class.ilSurveyExecutionGUI.php.
References backToRepository(), ILIAS\Repository\ctrl(), and preview().
Referenced by runShowFinishedPage().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 507 of file class.ilSurveyExecutionGUI.php.
Referenced by confirmedFinish(), mailUserResults(), outSurveyPage(), saveActiveQuestionData(), start(), and viewUserResults().
 Here is the caller graph for this function:| ilSurveyExecutionGUI::gotoPage | ( | ) | 
Go to a specific page without saving.
Definition at line 339 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl().
 Here is the call graph for this function:| ilSurveyExecutionGUI::mailUserResults | ( | ) | 
Definition at line 739 of file class.ilSurveyExecutionGUI.php.
References $user, backToRepository(), checkAuth(), ILIAS\Repository\ctrl(), getCurrentRunId(), ilUtil\is_email(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
 Here is the call graph for this function:| ilSurveyExecutionGUI::next | ( | ) | 
Navigates to the next page.
Definition at line 323 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl(), and saveUserInput().
 Here is the call graph for this function:| ilSurveyExecutionGUI::outNavigationButtons | ( | string | $navigationblock, | 
| array | $page, | ||
| ilTemplate | $stpl | ||
| ) | 
Definition at line 691 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by outSurveyPage().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::outSurveyPage | ( | int | $activepage = 0,  | 
        
| int | $direction = 0  | 
        ||
| ) | 
Output of the active survey question to the screen.
| ilCtrlException | |
| ilSurveyException | 
Definition at line 352 of file class.ilSurveyExecutionGUI.php.
References $data, $help, $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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::preview | ( | ) | 
Definition at line 714 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 | ( | bool | $a_save_input = true | ) | 
Definition at line 302 of file class.ilSurveyExecutionGUI.php.
References ILIAS\Repository\ctrl(), 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 297 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.
Definition at line 276 of file class.ilSurveyExecutionGUI.php.
References outSurveyPage().
 Here is the call graph for this function:| ilSurveyExecutionGUI::resume | ( | ) | 
Definition at line 244 of file class.ilSurveyExecutionGUI.php.
References start().
 Here is the call graph for this function:| ilSurveyExecutionGUI::runShowFinishedPage | ( | ) | 
Show finish page.
Definition at line 580 of file class.ilSurveyExecutionGUI.php.
References Vendor\Package\$f, $r, $toolbar, $txt, $user, ilObjSurveyAccess\_hasEvaluationAccess(), ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), exitSurvey(), ILIAS\Repository\lng(), ilObjSurvey\MODE_360, ILIAS\Repository\object(), and preview().
Referenced by outSurveyPage().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::saveActiveQuestionData | ( | array | $data | ) | 
Saves the users input of the active page.
Definition at line 547 of file class.ilSurveyExecutionGUI.php.
References SurveyQuestion\_instanciateQuestion(), getCurrentRunId(), ILIAS\Repository\object(), and preview().
Referenced by saveUserInput().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::saveUserInput | ( | string | $navigationDirection = "next" | ) | 
Save the user's input.
Definition at line 515 of file class.ilSurveyExecutionGUI.php.
References $data, ILIAS\Repository\lng(), preview(), and saveActiveQuestionData().
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 767 of file class.ilSurveyExecutionGUI.php.
References $tpl, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilGlobalTemplateInterface\setContent().
Referenced by outSurveyPage().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSurveyExecutionGUI::start | ( | bool | $resume = false | ) | 
Definition at line 249 of file class.ilSurveyExecutionGUI.php.
References checkAuth(), ILIAS\Repository\ctrl(), getCurrentRunId(), 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 719 of file class.ilSurveyExecutionGUI.php.
References $toolbar, backToRepository(), checkAuth(), ILIAS\Repository\ctrl(), getCurrentRunId(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
 Here is the call graph for this function:
      
  | 
  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.
Referenced by outSurveyPage().
      
  | 
  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.
Referenced by checkAuth().
      
  | 
  protected | 
Definition at line 37 of file class.ilSurveyExecutionGUI.php.
      
  | 
  protected | 
Definition at line 52 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct(), checkAuth(), confirmedFinish(), and outSurveyPage().
      
  | 
  protected | 
Definition at line 49 of file class.ilSurveyExecutionGUI.php.
      
  | 
  protected | 
Definition at line 41 of file class.ilSurveyExecutionGUI.php.
Referenced by runShowFinishedPage(), and viewUserResults().
      
  | 
  protected | 
Definition at line 44 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct(), and showFinishConfirmation().
      
  | 
  protected | 
Definition at line 46 of file class.ilSurveyExecutionGUI.php.
Referenced by __construct(), and backToRepository().
      
  | 
  protected | 
Definition at line 39 of file class.ilSurveyExecutionGUI.php.
Referenced by checkAuth(), confirmedFinish(), mailUserResults(), outSurveyPage(), and runShowFinishedPage().