ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilSurveyEditorGUI. More...
Protected Member Functions | |
questionsSubtabs ($a_cmd) | |
gatherSelectedTableItems ($allow_blocks=true, $allow_questions=true, $allow_headings=false, $allow_questions_in_blocks=false) | |
Gather (and filter) selected items from table gui. More... | |
insertQuestions ($insert_mode) | |
createQuestionPool ($name="dummy") | |
setBrowseForQuestionsSubtabs () | |
initQuestionblockForm ($a_block_id=null, $a_question_ids=null) | |
initHeadingForm ($a_question_id=null) | |
Protected Attributes | |
$parent_gui | |
$object | |
Class ilSurveyEditorGUI.
ilSurveyEditorGUI: SurveyMultipleChoiceQuestionGUI, SurveyMetricQuestionGUI ilSurveyEditorGUI: SurveySingleChoiceQuestionGUI, SurveyTextQuestionGUI ilSurveyEditorGUI: SurveyMatrixQuestionGUI, ilSurveyPageGUI
Definition at line 16 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::__construct | ( | ilObjSurveyGUI | $a_parent_gui | ) |
ilSurveyEditorGUI::addHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1166 of file class.ilSurveyEditorGUI.php.
References initHeadingForm(), and questionsSubtabs().
Referenced by saveHeadingObject().
ilSurveyEditorGUI::browseForQuestionblocksObject | ( | ) |
Definition at line 899 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::browseForQuestionsObject | ( | ) |
Definition at line 811 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::changeDatatypeObject | ( | ) |
ilSurveyEditorGUI::confirmedRemoveHeadingObject | ( | ) |
Definition at line 1240 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::confirmRemoveQuestionsObject | ( | ) |
Definition at line 495 of file class.ilSurveyEditorGUI.php.
References $_POST, array, and ilUtil\sendSuccess().
ilSurveyEditorGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 532 of file class.ilSurveyEditorGUI.php.
References ilObjSurvey\_instanciateQuestion(), gatherSelectedTableItems(), object, questionsSubtabs(), ilUtil\sendInfo(), and ilSelectInputGUI\setOptions().
ilSurveyEditorGUI::createQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 997 of file class.ilSurveyEditorGUI.php.
References $_POST, gatherSelectedTableItems(), initQuestionblockForm(), questionsSubtabs(), and ilUtil\sendInfo().
ilSurveyEditorGUI::createQuestionObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 616 of file class.ilSurveyEditorGUI.php.
References $_GET, $_POST, $_SESSION, executeCreateQuestionObject(), object, questionsSubtabs(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilRadioOption\setValue().
|
protected |
Definition at line 739 of file class.ilSurveyEditorGUI.php.
References object.
Referenced by executeCreateQuestionObject().
ilSurveyEditorGUI::editHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1181 of file class.ilSurveyEditorGUI.php.
References initHeadingForm(), and questionsSubtabs().
ilSurveyEditorGUI::editQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 983 of file class.ilSurveyEditorGUI.php.
References initQuestionblockForm(), and questionsSubtabs().
Referenced by saveDefineQuestionblockObject().
ilSurveyEditorGUI::executeCommand | ( | ) |
Definition at line 35 of file class.ilSurveyEditorGUI.php.
References $cmd, SurveyQuestionGUI\_getQuestionGUI(), array, and questionsSubtabs().
ilSurveyEditorGUI::executeCopyQuestionsToPoolObject | ( | ) |
Definition at line 590 of file class.ilSurveyEditorGUI.php.
References $_POST, SurveyQuestion\_changeOriginalId(), ilObjSurvey\_instanciateQuestion(), ilObject\_lookupObjId(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::executeCreateQuestionObject | ( | ) |
Definition at line 682 of file class.ilSurveyEditorGUI.php.
References $_GET, $_POST, $_SESSION, SurveyQuestionGUI\_getQuestionGUI(), ilObject\_lookupObjId(), createQuestionPool(), object, and ilUtil\sendFailure().
Referenced by createQuestionObject().
ilSurveyEditorGUI::filterQuestionblockBrowserObject | ( | ) |
Definition at line 909 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::filterQuestionBrowserObject | ( | ) |
Definition at line 821 of file class.ilSurveyEditorGUI.php.
|
protected |
Gather (and filter) selected items from table gui.
bool | $allow_blocks | |
bool | $allow_questions | |
bool | $allow_headings | |
bool | $allow_questions_in_blocks |
Definition at line 255 of file class.ilSurveyEditorGUI.php.
References $_POST, array, and object.
Referenced by copyQuestionsToPoolObject(), createQuestionblockObject(), insertQuestions(), moveQuestionsObject(), removeQuestionsObject(), and unfoldQuestionblockObject().
|
protected |
Definition at line 1117 of file class.ilSurveyEditorGUI.php.
References $options, ilObjAdvancedEditing\_getUsedHTMLTags(), array, ilRTE\ILIAS_IMG_MANAGER_PLUGIN, object, ilSelectInputGUI\setOptions(), and ilTextAreaInputGUI\setRows().
Referenced by addHeadingObject(), editHeadingObject(), and saveHeadingObject().
|
protected |
Definition at line 1020 of file class.ilSurveyEditorGUI.php.
References $_POST, $title, ilObjSurvey\_getQuestionblock(), and ilFormPropertyGUI\setInfo().
Referenced by createQuestionblockObject(), editQuestionblockObject(), and saveDefineQuestionblockObject().
ilSurveyEditorGUI::insertQuestionblocksObject | ( | ) |
Definition at line 925 of file class.ilSurveyEditorGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
protected |
Definition at line 389 of file class.ilSurveyEditorGUI.php.
References $_POST, $_SESSION, $target, gatherSelectedTableItems(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by insertQuestionsAfterObject(), and insertQuestionsBeforeObject().
ilSurveyEditorGUI::insertQuestionsAfterObject | ( | ) |
Definition at line 384 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsBeforeObject | ( | ) |
Definition at line 379 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsObject | ( | ) |
Definition at line 837 of file class.ilSurveyEditorGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::moveQuestionsObject | ( | ) |
Definition at line 354 of file class.ilSurveyEditorGUI.php.
References $_SESSION, gatherSelectedTableItems(), object, questionsObject(), and ilUtil\sendInfo().
ilSurveyEditorGUI::printViewObject | ( | ) |
Creates a print view of the survey questions.
public
Definition at line 1264 of file class.ilSurveyEditorGUI.php.
References $_GET, array, ilSubmitButton\getInstance(), ilLinkButton\getInstance(), ilRPCServerSettings\getInstance(), ilMathJax\getInstance(), object, ilMathJax\PURPOSE_DEFERRED_PDF, ilMathJax\PURPOSE_PDF, questionsSubtabs(), ilMathJax\RENDER_PNG_AS_FO_FILE, ilUtil\sendFailure(), and ilSelectInputGUI\setOptions().
ilSurveyEditorGUI::questionsObject | ( | ) |
Definition at line 155 of file class.ilSurveyEditorGUI.php.
References $_GET, $cmd, $data, $ilUser, ilObjSurveyQuestionPool\_getQuestiontypes(), ilObjSurvey\_hasDatasets(), array, ilSubmitButton\getInstance(), ilLinkButton\getInstance(), object, questionsSubtabs(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilSelectInputGUI\setOptions().
Referenced by moveQuestionsObject().
|
protected |
Definition at line 100 of file class.ilSurveyEditorGUI.php.
Referenced by addHeadingObject(), copyQuestionsToPoolObject(), createQuestionblockObject(), createQuestionObject(), editHeadingObject(), editQuestionblockObject(), executeCommand(), printViewObject(), questionsObject(), and removeHeadingObject().
ilSurveyEditorGUI::removeHeadingObject | ( | ) |
Definition at line 1216 of file class.ilSurveyEditorGUI.php.
References questionsSubtabs().
ilSurveyEditorGUI::removeQuestionsForm | ( | $checked_questionblocks, | |
$checked_questions, | |||
$checked_headings | |||
) |
Definition at line 456 of file class.ilSurveyEditorGUI.php.
References $counter, $data, and SurveyQuestion\_getQuestionTypeName().
Referenced by removeQuestionsObject().
ilSurveyEditorGUI::removeQuestionsObject | ( | ) |
Definition at line 440 of file class.ilSurveyEditorGUI.php.
References gatherSelectedTableItems(), removeQuestionsForm(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilSurveyEditorGUI::resetfilterQuestionblockBrowserObject | ( | ) |
Definition at line 917 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::resetfilterQuestionBrowserObject | ( | ) |
Definition at line 829 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::saveDefineQuestionblockObject | ( | ) |
Definition at line 1074 of file class.ilSurveyEditorGUI.php.
References $_POST, $title, editQuestionblockObject(), initQuestionblockForm(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::saveHeadingObject | ( | ) |
Definition at line 1196 of file class.ilSurveyEditorGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), initHeadingForm(), and ilUtil\stripSlashes().
ilSurveyEditorGUI::saveObligatoryObject | ( | ) |
Definition at line 295 of file class.ilSurveyEditorGUI.php.
References $_POST, array, and ilUtil\sendSuccess().
|
protected |
Definition at line 765 of file class.ilSurveyEditorGUI.php.
References $ilUser, array, and ilSelectInputGUI\setOptions().
Referenced by browseForQuestionblocksObject(), and browseForQuestionsObject().
ilSurveyEditorGUI::unfoldQuestionblockObject | ( | ) |
Definition at line 339 of file class.ilSurveyEditorGUI.php.
References gatherSelectedTableItems(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
protected |
Definition at line 19 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 18 of file class.ilSurveyEditorGUI.php.