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();
72 if ($this->survey->getShowQuestionTitles()) {
73 $cb = new \ilCheckboxInputGUI(
$lng->
txt(
"svy_print_show_labels"),
"include_labels");
77 $form->addCommandButton(
"printListView",
$lng->
txt(
"print_view"));
82 $ilCtrl->getFormActionByClass(
96 $pages = $this->survey->getSurveyPages();
98 $question_title_mode = $this->request->getIncludeLables()
102 foreach ($pages as $page) {
110 $print_pages[] = $page_renderer->render();
getTemplateInjectors()
@inheritDoc
__construct(\ilLanguage $lng, \ilCtrl $ctrl, int $ref_id)
getSelectionForm()
@inheritDoc
ILIAS Survey Editing EditingGUIRequest $request
Class ilCtrl provides processing control methods.
special template class to simplify handling of ITX/PEAR
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...