30     protected \ILIAS\Survey\Editing\EditingGUIRequest 
$request;
    33     protected \ilLanguage 
$lng;
    43         $this->request = $DIC->survey()
    52         $this->survey = new \ilObjSurvey($this->ref_id);
    69         $form = new \ilPropertyFormGUI();
    71         $radg = new \ilRadioGroupInputGUI($lng->txt(
"svy_selection"), 
"print_selection");
    72         $radg->setValue(
"page");
    73         $op1 = new \ilRadioOption($lng->txt(
"svy_current_page"), 
"page");
    74         $radg->addOption($op1);
    75         $op2 = new \ilRadioOption($lng->txt(
"svy_all_pages"), 
"all");
    76         $radg->addOption($op2);
    78         $form->addItem($radg);
    81         if ($this->survey->getShowQuestionTitles()) {
    82             $cb = new \ilCheckboxInputGUI($lng->txt(
"svy_print_show_labels"), 
"include_labels");
    86         $form->addCommandButton(
"printView", $lng->txt(
"print_view"));
    88         $form->setTitle($lng->txt(
"svy_print_selection"));
    89         $ilCtrl->setParameterByClass(
"ilSurveyEditorGUI", 
"pg", $this->request->getPage());
    91             $ilCtrl->getFormActionByClass(
   105         $pages = $this->survey->getSurveyPages();
   106         if ($this->request->getPrintSelection() === 
"page") {
   107             $pg = $this->request->getPage();
   111             $pages = [$pages[$pg - 1]];
   114         $question_title_mode = $this->request->getIncludeLables()
   118         foreach ($pages as $page) {
   126             $print_pages[] = $page_renderer->render();
 
special template class to simplify handling of ITX/PEAR 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(\ilLanguage $lng, \ilCtrl $ctrl, int $ref_id)
 
getSelectionForm()
form which is featured in the modal form target is modified to open in new window (not yet possible w...
 
ILIAS Survey Editing EditingGUIRequest $request
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...