ILIAS
Release_5_0_x_branch Revision 61816
|
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. | |
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 | ) |
Definition at line 21 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::addHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1166 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, 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 | ( | ) |
Definition at line 792 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::confirmedRemoveHeadingObject | ( | ) |
Definition at line 1240 of file class.ilSurveyEditorGUI.php.
References $_REQUEST.
ilSurveyEditorGUI::confirmRemoveQuestionsObject | ( | ) |
Definition at line 495 of file class.ilSurveyEditorGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilSurveyEditorGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 532 of file class.ilSurveyEditorGUI.php.
References ilObjSurvey\_instanciateQuestion(), gatherSelectedTableItems(), 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(), questionsSubtabs(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilRadioOption\setValue().
|
protected |
Definition at line 739 of file class.ilSurveyEditorGUI.php.
Referenced by executeCreateQuestionObject().
ilSurveyEditorGUI::editHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1181 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, initHeadingForm(), and questionsSubtabs().
ilSurveyEditorGUI::editQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 983 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, initQuestionblockForm(), and questionsSubtabs().
Referenced by saveDefineQuestionblockObject().
ilSurveyEditorGUI::executeCommand | ( | ) |
Definition at line 35 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, $cmd, SurveyQuestionGUI\_getQuestionGUI(), 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, $_REQUEST, $_SESSION, SurveyQuestionGUI\_getQuestionGUI(), ilObject\_lookupObjId(), createQuestionPool(), 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.
Referenced by copyQuestionsToPoolObject(), createQuestionblockObject(), insertQuestions(), moveQuestionsObject(), removeQuestionsObject(), and unfoldQuestionblockObject().
|
protected |
Definition at line 1117 of file class.ilSurveyEditorGUI.php.
References $options, ilObjAdvancedEditing\_getUsedHTMLTags(), ilRTE\ILIAS_IMG_MANAGER_PLUGIN, ilSelectInputGUI\setOptions(), and ilTextAreaInputGUI\setRows().
Referenced by addHeadingObject(), editHeadingObject(), and saveHeadingObject().
|
protected |
Definition at line 1020 of file class.ilSurveyEditorGUI.php.
References $_POST, ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by createQuestionblockObject(), editQuestionblockObject(), and saveDefineQuestionblockObject().
ilSurveyEditorGUI::insertQuestionblocksObject | ( | ) |
Definition at line 925 of file class.ilSurveyEditorGUI.php.
References $_POST, $_REQUEST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
protected |
Definition at line 389 of file class.ilSurveyEditorGUI.php.
References $_POST, $_SESSION, 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, $_REQUEST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::moveQuestionsObject | ( | ) |
Definition at line 354 of file class.ilSurveyEditorGUI.php.
References $_SESSION, gatherSelectedTableItems(), 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, ilLinkButton\getInstance(), ilRPCServerSettings\getInstance(), questionsSubtabs(), and ilUtil\sendFailure().
ilSurveyEditorGUI::questionsObject | ( | ) |
Definition at line 155 of file class.ilSurveyEditorGUI.php.
References $_GET, $cmd, $ilUser, ilObjSurveyQuestionPool\_getQuestiontypes(), ilSubmitButton\getInstance(), ilLinkButton\getInstance(), questionsSubtabs(), ilUtil\sendFailure(), ilUtil\sendInfo(), and ilSelectInputGUI\setOptions().
Referenced by moveQuestionsObject().
|
protected |
Definition at line 100 of file class.ilSurveyEditorGUI.php.
References $_REQUEST.
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 $_REQUEST, and questionsSubtabs().
ilSurveyEditorGUI::removeQuestionsForm | ( | $checked_questionblocks, | |
$checked_questions, | |||
$checked_headings | |||
) |
Definition at line 456 of file class.ilSurveyEditorGUI.php.
References 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, $_REQUEST, editQuestionblockObject(), initQuestionblockForm(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::saveHeadingObject | ( | ) |
Definition at line 1196 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), initHeadingForm(), and ilUtil\stripSlashes().
ilSurveyEditorGUI::saveObligatoryObject | ( | ) |
Definition at line 295 of file class.ilSurveyEditorGUI.php.
References $_POST, and ilUtil\sendSuccess().
|
protected |
Definition at line 765 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, $ilUser, 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.