51 $this->ctrl->saveParameter($this,
"q_id");
52 $this->ctrl->setParameterByClass(
$_GET[
"cmdClass"],
"sel_question_types",
$_GET[
"sel_question_types"]);
53 $this->cumulated = array();
59 $this->
object->loadFromDb($a_id);
68 $cmd = $this->ctrl->getCmd();
69 $next_class = $this->ctrl->getNextClass($this);
92 include_once
"./Modules/SurveyQuestionPool/classes/class.SurveyQuestion.php";
93 if ((!$questiontype) and ($question_id > 0))
95 $questiontype = SurveyQuestion::_getQuestiontype($question_id);
98 $question_type_gui = $questiontype .
"GUI";
99 $question =
new $question_type_gui($question_id);
105 include_once
"./Modules/SurveyQuestionPool/classes/class.SurveyQuestion.php";
106 include_once
"./Modules/SurveyQuestionPool/classes/class.SurveyQuestionGUI.php";
107 $q_type = SurveyQuestion::_getQuestiontype($a_q_id);
125 return $this->
object->getQuestionType();
130 $questiontext = $this->
object->getQuestiontext();
131 if (preg_match(
"/^<.[\\>]?>(.*?)<\\/.[\\>]*?>$/", $questiontext, $matches))
133 $questiontext = $matches[1];
135 $template->setVariable(
"QUESTIONTEXT", $this->object->prepareTextareaOutput($questiontext, TRUE));
136 if ($this->object->getObligatory($survey_id))
138 $template->setVariable(
"OBLIGATORY_TEXT",
' *');
144 $this->parent_url = $a_url;
149 global $rbacsystem,$ilTabs;
151 $this->ctrl->setParameterByClass($guiclass,
"sel_question_types", $this->
getQuestionType());
152 $this->ctrl->setParameterByClass($guiclass,
"q_id",
$_GET[
"q_id"]);
154 if ($this->parent_url)
157 if (strlen(
$_GET[
"new_for_survey"]))
159 $addurl =
"&new_id=" .
$_GET[
"q_id"];
161 $ilTabs->setBackTarget($this->lng->txt(
"menubacktosurvey"), $this->parent_url . $addurl);
165 $this->ctrl->setParameterByClass(
"ilObjSurveyQuestionPoolGUI",
"q_id_table_nav",
$_SESSION[
'q_id_table_nav']);
166 $ilTabs->setBackTarget($this->lng->txt(
"spl"), $this->ctrl->getLinkTargetByClass(
"ilObjSurveyQuestionPoolGUI",
"questions"));
170 $ilTabs->addNonTabbedLink(
"preview",
171 $this->lng->txt(
"preview"),
172 $this->ctrl->getLinkTargetByClass($guiclass,
"preview"));
175 if ($rbacsystem->checkAccess(
'edit',
$_GET[
"ref_id"]))
177 $ilTabs->addTab(
"edit_properties",
178 $this->lng->txt(
"properties"),
179 $this->ctrl->getLinkTargetByClass($guiclass,
"editQuestion"));
181 if(stristr($guiclass,
"matrix"))
183 $ilTabs->addTab(
"layout",
184 $this->lng->txt(
"layout"),
185 $this->ctrl->getLinkTargetByClass($guiclass,
"layout"));
190 $ilTabs->addTab(
"material",
191 $this->lng->txt(
"material"),
192 $this->ctrl->getLinkTargetByClass($guiclass,
"material"));
195 if ($this->object->getId() > 0)
197 $title = $this->lng->txt(
"edit") .
" "" . $this->
object->getTitle() .
""";
201 $title = $this->lng->txt(
"create_new") .
" " . $this->lng->txt($this->
getQuestionType());
204 $this->tpl->setVariable(
"HEADER", $title);
214 include_once(
"./Services/Form/classes/class.ilPropertyFormGUI.php");
216 $form->setFormAction($this->ctrl->getFormAction($this,
"save"));
217 $form->setTitle($this->lng->txt($this->getQuestionType()));
218 $form->setMultipart(FALSE);
219 $form->setTableWidth(
"100%");
225 $form->addItem($title);
229 $label->
setInfo($this->lng->txt(
"label_info"));
230 $label->setRequired(
false);
231 $form->addItem($label);
234 $author =
new ilTextInputGUI($this->lng->txt(
"author"),
"author");
236 $form->addItem($author);
239 $description =
new ilTextInputGUI($this->lng->txt(
"description"),
"description");
241 $form->addItem($description);
246 $question->setRows(10);
247 $question->setCols(80);
248 $question->setUseRte(TRUE);
249 include_once
"./Services/AdvancedEditing/classes/class.ilObjAdvancedEditing.php";
251 $question->addPlugin(
"latex");
252 $question->addButton(
"latex");
253 $question->addButton(
"pastelatex");
254 $question->setRTESupport($this->object->getId(),
"spl",
"survey");
255 $form->addItem($question);
260 $shuffle->setRequired(FALSE);
261 $form->addItem($shuffle);
268 $title->setValue($this->object->getTitle());
269 $label->setValue($this->object->label);
270 $author->setValue($this->object->getAuthor());
271 $description->setValue($this->object->getDescription());
272 $question->setValue($this->object->prepareTextareaOutput($this->object->getQuestiontext()));
273 $shuffle->setChecked($this->object->getObligatory());
280 $a_form->addCommandButton(
"saveReturn", $this->lng->txt(
"save_return"));
281 $a_form->addCommandButton(
"save", $this->lng->txt(
"save"));
286 if($this->object->hasCopies())
288 $a_form->addCommandButton(
"saveSync", $this->lng->txt(
"svy_save_sync"));
297 $ilTabs->activateTab(
"edit_properties");
303 $this->tpl->setContent($a_form->getHTML());
319 if($form->checkInput())
323 $this->
object->setTitle($form->getInput(
"title"));
324 $this->
object->label = ($form->getInput(
"label"));
325 $this->
object->setAuthor($form->getInput(
"author"));
326 $this->
object->setDescription($form->getInput(
"description"));
327 $this->
object->setQuestiontext($form->getInput(
"question"));
328 $this->
object->setObligatory($form->getInput(
"obligatory"));
333 $this->
object->saveToDb();
339 $form->setValuesByPost();
344 protected function save($a_return =
false, $a_sync =
false)
358 $ilUser->setPref(
"svy_lastquestiontype", $this->object->getQuestionType());
359 $ilUser->writePref(
"svy_lastquestiontype", $this->object->getQuestionType());
361 $originalexists = $this->
object->_questionExists($this->object->original_id);
362 $this->ctrl->setParameter($this,
"q_id", $this->object->getId());
363 include_once
"./Modules/SurveyQuestionPool/classes/class.SurveyQuestion.php";
369 $this->ctrl->redirect($this,
'copySyncForm');
374 if ($originalexists &&
379 $this->ctrl->setParameter($this,
'rtrn', 1);
381 $this->ctrl->redirect($this,
'originalSyncForm');
394 $ilTabs->activateTab(
"edit_properties");
396 include_once
"Modules/SurveyQuestionPool/classes/class.ilSurveySyncTableGUI.php";
399 $this->tpl->setContent(
$tbl->getHTML());
404 global
$lng, $ilAccess;
406 if(!
sizeof(
$_POST[
"qid"]))
412 foreach($this->object->getCopyIds(
true) as $survey_id => $questions)
419 if($ilAccess->checkAccess(
"edit",
"", $ref_id))
428 foreach($questions as $qid)
430 if(in_array($qid,
$_POST[
"qid"]))
432 $id = $this->
object->getId();
434 $this->
object->setId($qid);
435 $this->
object->setOriginalId($id);
436 $this->
object->saveToDb();
438 $this->
object->setId($id);
439 $this->
object->setOriginalId(null);
456 $ilTabs->activateTab(
"edit_properties");
458 $this->ctrl->saveParameter($this,
"rtrn");
460 include_once(
"./Services/Utilities/classes/class.ilConfirmationGUI.php");
462 $cgui->setHeaderText($this->lng->txt(
"confirm_sync_questions"));
464 $cgui->setFormAction($this->ctrl->getFormAction($this,
"confirmRemoveQuestions"));
465 $cgui->setCancel($this->lng->txt(
"no"),
"cancelSync");
466 $cgui->setConfirm($this->lng->txt(
"yes"),
"sync");
468 $this->tpl->setContent($cgui->getHTML());
473 $original_id = $this->
object->original_id;
476 $this->
object->syncWithOriginal();
500 if($this->parent_url)
503 if (strlen(
$_GET[
"new_for_survey"]))
505 $addurl =
"&new_id=" .
$_GET[
"q_id"];
512 $this->ctrl->setParameterByClass(
"ilObjSurveyQuestionPoolGUI",
"q_id_table_nav",
$_SESSION[
'q_id_table_nav']);
513 $this->ctrl->redirectByClass(
"ilObjSurveyQuestionPoolGUI",
"questions");
519 $this->ctrl->setParameterByClass(
$_GET[
"cmdClass"],
"q_id", $this->object->getId());
520 $this->ctrl->setParameterByClass(
$_GET[
"cmdClass"],
"sel_question_types",
$_GET[
"sel_question_types"]);
521 $this->ctrl->setParameterByClass(
$_GET[
"cmdClass"],
"new_for_survey",
$_GET[
"new_for_survey"]);
522 $this->ctrl->redirectByClass(
$_GET[
"cmdClass"],
"editQuestion");
528 if ($this->parent_url)
534 $this->ctrl->redirectByClass(
"ilobjsurveyquestionpoolgui",
"questions");
546 abstract public function getPrintView($question_title = 1, $show_questiontext = 1);
550 switch ($question_title)
562 if(trim($this->object->getLabel()))
564 $title .=
' <span class="questionLabel">('.ilUtil::prepareFormOutput($this->object->getLabel()).
')</span>';
580 $ilTabs->activateTab(
"preview");
582 $tpl =
new ilTemplate(
"tpl.il_svy_qpl_preview.html",
true,
true,
"Modules/SurveyQuestionPool");
584 if ($this->object->getObligatory())
586 $tpl->setCurrentBlock(
"required");
587 $tpl->setVariable(
"TEXT_REQUIRED", $this->lng->txt(
"required_field"));
588 $tpl->parseCurrentBlock();
593 include_once
"Services/UIComponent/Panel/classes/class.ilPanelGUI.php";
595 $panel->setBody(
$tpl->get());
597 $this->tpl->setContent($panel->getHTML());
605 abstract public function getWorkingForm($working_data =
"", $question_title = 1, $show_questiontext = 1, $error_message =
"", $survey_id = null);
612 if (count($this->object->getMaterial()))
614 $template =
new ilTemplate(
"tpl.il_svy_qpl_material.html", TRUE, TRUE,
"Modules/SurveyQuestionPool");
615 foreach ($this->object->getMaterial() as $material)
617 $template->setCurrentBlock(
'material');
618 switch ($material->type)
622 $template->setVariable(
'MATERIAL_TYPE',
'internallink');
623 $template->setVariable(
'MATERIAL_HREF', $href);
626 $template->setVariable(
'MATERIAL_TITLE', (strlen($material->title)) ?
ilUtil::prepareFormOutput($material->title) : $this->lng->txt(
'material'));
627 $template->setVariable(
'TEXT_AVAILABLE_MATERIALS', $this->lng->txt(
'material'));
628 $template->parseCurrentBlock();
630 return $template->get();
644 include_once
"Services/Chart/classes/class.ilChart.php";
646 $chart->setsize(700, 400);
650 $chart->setYAxisToInteger(
true);
653 $data->setLabel($this->lng->txt(
"category_nr_selected"));
654 $data->setBarOptions(0.5,
"center");
658 if(
sizeof($a_variables) <= $max)
663 foreach($a_variables as $idx => $points)
665 $data->addPoint($idx, $points[
"selected"]);
668 $chart->addData(
$data);
670 $chart->setTicks($labels,
false,
true);
673 return "<div style=\"margin:10px\">".$chart->getHTML().
"</div>";
677 $chart_legend = array();
679 foreach($a_variables as $idx => $points)
681 $data->addPoint($idx, $points[
"selected"]);
682 $labels[$idx] = ($idx+1).
".";
685 $chart->addData(
$data);
687 $chart->setTicks($labels,
false,
true);
690 foreach($chart_legend as $number => $caption)
692 $legend .=
"<tr valign=\"top\"><td>".$number.
".</td><td>".$caption.
"</td></tr>";
696 return "<div style=\"margin:10px\"><table><tr valign=\"bottom\"><td>".
697 $chart->getHTML().
"</td><td class=\"small\" style=\"padding-left:15px\">".
698 $legend.
"</td></tr></table></div>";
713 global $rbacsystem, $ilTabs;
715 $ilTabs->activateTab(
"material");
718 if ($rbacsystem->checkAccess(
'write',
$_GET[
'ref_id']))
720 include_once(
"./Services/Form/classes/class.ilPropertyFormGUI.php");
722 $form->setFormAction($this->ctrl->getFormAction($this));
723 $form->setTitle($this->lng->txt(
'add_material'));
724 $form->setMultipart(FALSE);
725 $form->setTableWidth(
"100%");
726 $form->setId(
"material");
731 $material->addOption(
new ilRadioOption($this->lng->txt(
'obj_lm'),
"lm"));
732 $material->addOption(
new ilRadioOption($this->lng->txt(
'obj_st'),
"st"));
733 $material->addOption(
new ilRadioOption($this->lng->txt(
'obj_pg'),
"pg"));
734 $material->addOption(
new ilRadioOption($this->lng->txt(
'glossary_term'),
"glo"));
735 $form->addItem($material);
737 $form->addCommandButton(
"addMaterial", $this->lng->txt(
"add"));
743 $form->setValuesByPost();
744 $errors = !$form->checkInput();
745 if (
$errors) $checkonly =
false;
747 $add_html = $form->getHTML();
752 if (count($this->object->getMaterial()))
754 include_once
"./Modules/SurveyQuestionPool/classes/tables/class.ilSurveyMaterialsTableGUI.php";
757 foreach ($this->object->getMaterial() as $material)
759 switch ($material->type)
763 $type = $this->lng->txt(
'internal_link');
767 array_push($data, array(
'href' => $href,
'title' => $title,
'type' => $type));
769 $table_gui->setData($data);
770 $mat_html = $table_gui->getHTML();
773 if (!$checkonly) $this->tpl->setVariable(
"ADM_CONTENT", $add_html . $mat_html);
779 if (is_array(
$_POST[
'idx']))
781 $this->
object->deleteMaterials(
$_POST[
'idx']);
788 $this->ctrl->redirect($this,
'material');
796 global $tree, $ilTabs, $ilToolbar;
798 $ilTabs->activateTab(
"material");
800 $ilToolbar->addButton($this->lng->txt(
"cancel"),
801 $this->ctrl->getLinkTarget($this,
"material"));
805 include_once(
"./Modules/SurveyQuestionPool/classes/class.ilMaterialExplorer.php");
806 switch (
$_POST[
"internalLinkType"])
827 $exp->setPathOpen((
int)
$_GET[
"ref_id"]);
828 if (!$exp->handleCommand())
830 include_once
"Services/UIComponent/Panel/classes/class.ilPanelGUI.php";
832 $panel->setHeading($this->lng->txt(
"select_object_to_link"));
833 $panel->setBody($exp->getHTML());
835 $this->tpl->setContent($panel->getHTML());
842 $this->
object->material = array();
843 $this->
object->saveToDb();
851 $this->ctrl->redirect($this,
'material');
856 $this->
object->addInternalLink(
"il__pg_" .
$_GET[
"pg"]);
860 $this->ctrl->redirect($this,
"material");
865 $this->
object->addInternalLink(
"il__st_" .
$_GET[
"st"]);
869 $this->ctrl->redirect($this,
"material");
874 $this->
object->addInternalLink(
"il__git_" .
$_GET[
"git"]);
878 $this->ctrl->redirect($this,
"material");
885 $selectable_items = array();
887 $source_id =
$_GET[
"source_id"];
892 include_once
"./Modules/LearningModule/classes/class.ilLMPageObject.php";
893 include_once(
"./Modules/LearningModule/classes/class.ilObjContentObjectGUI.php");
895 $cont_obj = $cont_obj_gui->object;
897 foreach($pages as $page)
899 if($page[
"type"] ==
$_SESSION[
"search_link_type"])
901 $selectable_items[] = array(
902 "item_type" => $page[
"type"]
903 ,
"item_id" => $page[
"obj_id"]
904 ,
"title" => $page[
"title"]
911 include_once(
"./Modules/LearningModule/classes/class.ilObjContentObjectGUI.php");
913 $cont_obj = $cont_obj_gui->object;
915 $ctree =& $cont_obj->getLMTree();
916 $nodes = $ctree->getSubtree($ctree->getNodeData($ctree->getRootId()));
917 foreach($nodes as $node)
919 if($node[
"type"] ==
$_SESSION[
"search_link_type"])
921 $selectable_items[] = array(
922 "item_type" => $node[
"type"]
923 ,
"item_id" => $node[
"obj_id"]
924 ,
"title" => $node[
"title"]
931 include_once
"./Modules/Glossary/classes/class.ilObjGlossary.php";
934 $terms = $glossary->getTermList();
935 foreach($terms as $term)
937 $selectable_items[] = array(
939 ,
"item_id" => $term[
"id"]
940 ,
"title" => $term[
"term"]
946 $this->
object->addInternalLink(
"il__lm_" . $source_id);
950 if(
sizeof($selectable_items))
952 $ilTabs->activateTab(
"material");
953 $this->ctrl->setParameter($this,
"q_id", $this->object->getId());
954 $this->ctrl->setParameter($this,
"source_id", $source_id);
956 include_once
"Modules/SurveyQuestionPool/classes/tables/class.SurveyMaterialsSourceTableGUI.php";
958 $tbl->setData($selectable_items);
959 $this->tpl->setContent(
$tbl->getHTML());
963 if(
$_SESSION[
"search_link_type"] ==
"lm")
969 $this->ctrl->redirect($this,
"material");
974 $this->ctrl->redirect($this,
"addMaterial");
986 include_once(
"./Services/Form/classes/class.ilPropertyFormGUI.php");
988 $form->setFormAction($this->ctrl->getFormAction($this,
"addSelectedPhrase"));
989 $form->setTitle($this->lng->txt(
"add_phrase"));
994 $form->addItem($group);
996 include_once
"./Modules/SurveyQuestionPool/classes/class.ilSurveyPhrases.php";
1001 $opt =
new ilRadioOption($phrase_array[
"title"], $phrase_id);
1002 $opt->setInfo(join($categories,
","));
1003 $group->addOption($opt);
1005 if($phrase_array[
"org_title"] ==
"dp_standard_numbers")
1007 $min =
new ilNumberInputGUI($this->lng->txt(
"lower_limit"),
"lower_limit");
1010 $opt->addSubItem($min);
1012 $max =
new ilNumberInputGUI($this->lng->txt(
"upper_limit"),
"upper_limit");
1015 $opt->addSubItem($max);
1019 $form->addCommandButton(
"addSelectedPhrase", $this->lng->txt(
"add_phrase"));
1020 $form->addCommandButton(
"editQuestion", $this->lng->txt(
"cancel"));
1032 $ilTabs->activateTab(
"edit_properties");
1039 $this->
object->saveToDb();
1045 $this->tpl->setContent($a_form->
getHTML());
1051 if($form->checkInput())
1053 $phrase_id = $form->getInput(
"phrases");
1056 if (strcmp($this->object->getPhrase($phrase_id),
"dp_standard_numbers") != 0)
1058 $this->
object->addPhrase($phrase_id);
1062 $min = $form->getInput(
"lower_limit");
1063 $max = $form->getInput(
"upper_limit");
1067 $max_field = $form->getItemByPostVar(
"upper_limit");
1068 $max_field->setAlert($this->lng->txt(
"upper_limit_must_be_greater"));
1073 $this->
object->addStandardNumbers($min, $max);
1079 $this->
object->saveToDb();
1082 $this->ctrl->redirect($this,
'editQuestion');
1086 $form->setValuesByPost();
1097 global $ilTabs, $ilToolbar;
1099 $ilTabs->activateTab(
"edit_properties");
1106 $this->
object->saveToDb();
1110 include_once(
"./Services/Form/classes/class.ilTextInputGUI.php");
1112 $ilToolbar->addInputItem(
$txt,
true);
1113 $ilToolbar->addFormButton($this->lng->txt(
"confirm"),
"confirmSavePhrase");
1114 $ilToolbar->setFormAction($this->ctrl->getFormAction($this));
1116 include_once
"./Modules/SurveyQuestionPool/classes/tables/class.ilSurveySavePhraseTableGUI.php";
1118 $table_gui->setDescription($this->lng->txt(
"save_phrase_introduction"));
1121 if(method_exists($this->
object,
"getCategories"))
1123 $categories = $this->
object->getCategories();
1127 $categories = $this->
object->getColumns();
1131 for ($i = 0; $i < $categories->getCategoryCount(); $i++)
1133 $cat = $categories->getCategory($i);
1136 "answer" => $cat->title,
1137 "other" => $cat->other,
1138 "scale" => $cat->scale,
1139 "neutral" => $cat->neutral
1142 $table_gui->setData(
$data);
1145 $this->tpl->setContent($table_gui->getHTML());
1155 $title =
$_POST[
"phrase_title"];
1163 else if ($this->object->phraseExists($title))
1171 $this->
object->savePhrase($title);
1174 $this->ctrl->redirect($this,
"editQuestion");
1183 $html[] =
'<div class="ilTableOuter table-responsive">';
1184 $html[] =
'<table class="table table-striped">';
1186 $html[] =
"<thead>";
1188 foreach($a_head as $col)
1192 $html[] = ($col !=
"") ? $col :
" ";
1196 $html[] =
"</thead>";
1198 $html[] =
"<tbody>";
1199 foreach($a_rows as
$row)
1202 foreach($row as $col)
1206 $html[] = ($col !=
"") ? $col :
" ";
1211 $html[] =
"</tbody>";
1215 $html[] =
"<tfoot>";
1217 foreach($a_foot as $col)
1221 $html[] = ($col !=
"") ? $col :
" ";
1225 $html[] =
"</tfoot>";
1228 $html[] =
"</table>";
1230 return implode(
"\n",
$html);
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.
setQuestionTabsForClass($guiclass)
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
This class represents an option in a radio group.
getMaterialOutput()
Creates the HTML output of the question material(s)
Survey sync table GUI class.
redirectAfterSaving($a_return=false)
Redirect to calling survey or to edit form.
getPrintView($question_title=1, $show_questiontext=1)
outQuestionText($template)
static _includeClass($question_type, $gui=0)
Include the php class file for a given question type.
addPhrase(ilPropertyFormGUI $a_form=null)
Creates an output for the addition of phrases.
TableGUI class for survey question source materials.
getQuestionType()
Returns the question type string.
TableGUI class for survey question materials.
renderStatisticsDetailsTable(array $a_head, array $a_rows, array $a_foot=null)
static _getAllReferences($a_id)
get all reference ids of object
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
preview()
Creates a preview of the question.
addMaterial()
Add materials to a question.
getWorkingForm($working_data="", $question_title=1, $show_questiontext=1, $error_message="", $survey_id=null)
static & _getCategoriesForPhrase($phrase_id)
Gets the available categories for a given phrase.
static & _getQuestionGUI($questiontype, $question_id=-1)
Creates a question gui representation.
addFieldsToEditForm(ilPropertyFormGUI $a_form)
special template class to simplify handling of ITX/PEAR
validateEditForm(ilPropertyFormGUI $a_form)
This class represents a text property in a property form.
getPageList($lm_id)
static
addCommandButtons($a_form)
_getClassNameForQType($q_type)
renderChart($a_id, $a_variables)
static _lookupType($a_id, $a_reference=false)
lookup object type
savePhrase($a_reload=false)
Creates an output to save the current answers as a phrase.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
importEditFormValues(ilPropertyFormGUI $a_form)
static & _getAvailablePhrases($useronly=0)
Gets the available phrases from the database.
static getInstance()
Get instance.
getCumulatedResultsDetails($survey_id, $counter, $finished_ids)
save($a_return=false, $a_sync=false)
& _getUsedHTMLTags($a_module="")
Returns an array of all allowed HTML tags for text editing.
This class represents a text area property in a property form.
editQuestion(ilPropertyFormGUI $a_form=null)
Class ilObjContentObjectGUI.
_isWriteable($question_id, $user_id)
Returns true if the question is writeable by a certain user.
confirmSavePhrase()
Save a new phrase to the database.
_getInternalLinkHref($target="", $a_parent_ref_id=null)
if($_REQUEST['ilias_path']) define('ILIAS_HTTP_PATH' $_REQUEST['ilias_path']
getPrintViewQuestionTitle($question_title=1)
material($checkonly=FALSE)
Material tab of the survey questions.
_getGUIClassNameForId($a_q_id)
static redirect($a_script)
http redirect to other script
_isComplete($question_id)
Checks whether the question is complete or not.
Basic class for all survey question types.
static getInstanceByType($a_type, $a_id)
Get type instance.
Confirmation screen class.