ILIAS
Release_4_4_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 1150 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, initHeadingForm(), and questionsSubtabs().
Referenced by saveHeadingObject().
ilSurveyEditorGUI::browseForQuestionblocksObject | ( | ) |
Definition at line 883 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::browseForQuestionsObject | ( | ) |
Definition at line 795 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::changeDatatypeObject | ( | ) |
Definition at line 776 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::confirmedRemoveHeadingObject | ( | ) |
Definition at line 1224 of file class.ilSurveyEditorGUI.php.
References $_REQUEST.
ilSurveyEditorGUI::confirmRemoveQuestionsObject | ( | ) |
Definition at line 479 of file class.ilSurveyEditorGUI.php.
References $_POST, and ilUtil\sendSuccess().
ilSurveyEditorGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 516 of file class.ilSurveyEditorGUI.php.
References ilObjSurvey\_instanciateQuestion(), gatherSelectedTableItems(), questionsSubtabs(), ilUtil\sendInfo(), and ilSelectInputGUI\setOptions().
ilSurveyEditorGUI::createQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 981 of file class.ilSurveyEditorGUI.php.
References $_POST, gatherSelectedTableItems(), initQuestionblockForm(), questionsSubtabs(), and ilUtil\sendInfo().
ilSurveyEditorGUI::createQuestionObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 600 of file class.ilSurveyEditorGUI.php.
References $_GET, $_POST, $_SESSION, executeCreateQuestionObject(), questionsSubtabs(), ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilRadioOption\setValue().
|
protected |
Definition at line 723 of file class.ilSurveyEditorGUI.php.
Referenced by executeCreateQuestionObject().
ilSurveyEditorGUI::editHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1165 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, initHeadingForm(), and questionsSubtabs().
ilSurveyEditorGUI::editQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 967 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 574 of file class.ilSurveyEditorGUI.php.
References $_POST, SurveyQuestion\_changeOriginalId(), ilObjSurvey\_instanciateQuestion(), ilObject\_lookupObjId(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::executeCreateQuestionObject | ( | ) |
Definition at line 666 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 893 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::filterQuestionBrowserObject | ( | ) |
Definition at line 805 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 239 of file class.ilSurveyEditorGUI.php.
References $_POST.
Referenced by copyQuestionsToPoolObject(), createQuestionblockObject(), insertQuestions(), moveQuestionsObject(), removeQuestionsObject(), and unfoldQuestionblockObject().
|
protected |
Definition at line 1101 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 1004 of file class.ilSurveyEditorGUI.php.
References $_POST, ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Referenced by createQuestionblockObject(), editQuestionblockObject(), and saveDefineQuestionblockObject().
ilSurveyEditorGUI::insertQuestionblocksObject | ( | ) |
Definition at line 909 of file class.ilSurveyEditorGUI.php.
References $_POST, $_REQUEST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
protected |
Definition at line 373 of file class.ilSurveyEditorGUI.php.
References $_POST, $_SESSION, gatherSelectedTableItems(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
Referenced by insertQuestionsAfterObject(), and insertQuestionsBeforeObject().
ilSurveyEditorGUI::insertQuestionsAfterObject | ( | ) |
Definition at line 368 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsBeforeObject | ( | ) |
Definition at line 363 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsObject | ( | ) |
Definition at line 821 of file class.ilSurveyEditorGUI.php.
References $_POST, $_REQUEST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::moveQuestionsObject | ( | ) |
Definition at line 338 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 1248 of file class.ilSurveyEditorGUI.php.
References $_GET, ilUtil\getHtmlPath(), ilUtil\getImagePath(), ilRPCServerSettings\getInstance(), questionsSubtabs(), and ilUtil\sendFailure().
ilSurveyEditorGUI::questionsObject | ( | ) |
Definition at line 155 of file class.ilSurveyEditorGUI.php.
References $_GET, $cmd, $ilUser, ilObjSurveyQuestionPool\_getQuestiontypes(), 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 1200 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, and questionsSubtabs().
ilSurveyEditorGUI::removeQuestionsForm | ( | $checked_questionblocks, | |
$checked_questions, | |||
$checked_headings | |||
) |
Definition at line 440 of file class.ilSurveyEditorGUI.php.
References SurveyQuestion\_getQuestionTypeName().
Referenced by removeQuestionsObject().
ilSurveyEditorGUI::removeQuestionsObject | ( | ) |
Definition at line 424 of file class.ilSurveyEditorGUI.php.
References gatherSelectedTableItems(), removeQuestionsForm(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilSurveyEditorGUI::resetfilterQuestionblockBrowserObject | ( | ) |
Definition at line 901 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::resetfilterQuestionBrowserObject | ( | ) |
Definition at line 813 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::saveDefineQuestionblockObject | ( | ) |
Definition at line 1058 of file class.ilSurveyEditorGUI.php.
References $_POST, $_REQUEST, editQuestionblockObject(), initQuestionblockForm(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::saveHeadingObject | ( | ) |
Definition at line 1180 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), initHeadingForm(), and ilUtil\stripSlashes().
ilSurveyEditorGUI::saveObligatoryObject | ( | ) |
Definition at line 279 of file class.ilSurveyEditorGUI.php.
References $_POST, and ilUtil\sendSuccess().
|
protected |
Definition at line 749 of file class.ilSurveyEditorGUI.php.
References $_REQUEST, $ilUser, and ilSelectInputGUI\setOptions().
Referenced by browseForQuestionblocksObject(), and browseForQuestionsObject().
ilSurveyEditorGUI::unfoldQuestionblockObject | ( | ) |
Definition at line 323 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.