ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 | |
$ctrl | |
$lng | |
$tpl | |
$tabs | |
$help | |
$toolbar | |
$user | |
$tree | |
$parent_gui | |
$object | |
$print_options | |
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 66 of file class.ilSurveyEditorGUI.php.
References $DIC, $ilCtrl, $lng, $tpl, array, ilObjSurvey\PRINT_HIDE_LABELS, ilObjSurvey\PRINT_SHOW_LABELS, and user().
ilSurveyEditorGUI::addHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1100 of file class.ilSurveyEditorGUI.php.
References initHeadingForm(), and questionsSubtabs().
Referenced by saveHeadingObject().
ilSurveyEditorGUI::browseForQuestionblocksObject | ( | ) |
Definition at line 858 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::browseForQuestionsObject | ( | ) |
Definition at line 786 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::changeDatatypeObject | ( | ) |
ilSurveyEditorGUI::confirmedRemoveHeadingObject | ( | ) |
Definition at line 1174 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::confirmRemoveQuestionsObject | ( | ) |
Definition at line 506 of file class.ilSurveyEditorGUI.php.
References $_POST, $key, array, and ilUtil\sendSuccess().
ilSurveyEditorGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 536 of file class.ilSurveyEditorGUI.php.
References $form, ilObjSurvey\_instanciateQuestion(), gatherSelectedTableItems(), object, questionsSubtabs(), ilUtil\sendInfo(), and ilSelectInputGUI\setOptions().
ilSurveyEditorGUI::createQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 942 of file class.ilSurveyEditorGUI.php.
References $_POST, gatherSelectedTableItems(), initQuestionblockForm(), questionsSubtabs(), and ilUtil\sendInfo().
ilSurveyEditorGUI::createQuestionObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 610 of file class.ilSurveyEditorGUI.php.
References $_GET, $_POST, $_SESSION, $form, $name, executeCreateQuestionObject(), object, questionsSubtabs(), ilSelectInputGUI\setOptions(), and ilFormPropertyGUI\setRequired().
|
protected |
Definition at line 716 of file class.ilSurveyEditorGUI.php.
References $name, $tree, and object.
Referenced by executeCreateQuestionObject().
ilSurveyEditorGUI::editHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1114 of file class.ilSurveyEditorGUI.php.
References initHeadingForm(), and questionsSubtabs().
ilSurveyEditorGUI::editQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 929 of file class.ilSurveyEditorGUI.php.
References initQuestionblockForm(), and questionsSubtabs().
Referenced by saveDefineQuestionblockObject().
ilSurveyEditorGUI::executeCommand | ( | ) |
Definition at line 96 of file class.ilSurveyEditorGUI.php.
References $help, $tabs, SurveyQuestionGUI\_getQuestionGUI(), array, and questionsSubtabs().
ilSurveyEditorGUI::executeCopyQuestionsToPoolObject | ( | ) |
Definition at line 585 of file class.ilSurveyEditorGUI.php.
References $_POST, SurveyQuestion\_changeOriginalId(), ilObjSurvey\_instanciateQuestion(), ilObject\_lookupObjId(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::executeCreateQuestionObject | ( | ) |
Definition at line 668 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 868 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::filterQuestionBrowserObject | ( | ) |
Definition at line 796 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 301 of file class.ilSurveyEditorGUI.php.
References $_POST, $key, array, and object.
Referenced by copyQuestionsToPoolObject(), createQuestionblockObject(), insertQuestions(), moveQuestionsObject(), removeQuestionsObject(), and unfoldQuestionblockObject().
|
protected |
Definition at line 1055 of file class.ilSurveyEditorGUI.php.
References $form, $key, $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 962 of file class.ilSurveyEditorGUI.php.
References $_POST, $form, $title, ilObjSurvey\_getQuestionblock(), and ilFormPropertyGUI\setInfo().
Referenced by createQuestionblockObject(), editQuestionblockObject(), and saveDefineQuestionblockObject().
ilSurveyEditorGUI::insertQuestionblocksObject | ( | ) |
Definition at line 884 of file class.ilSurveyEditorGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
protected |
Definition at line 412 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 407 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsBeforeObject | ( | ) |
Definition at line 402 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsObject | ( | ) |
Definition at line 812 of file class.ilSurveyEditorGUI.php.
References $_POST, ilUtil\sendInfo(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::moveQuestionsObject | ( | ) |
Definition at line 382 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 1190 of file class.ilSurveyEditorGUI.php.
References $_GET, $template, $toolbar, 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 209 of file class.ilSurveyEditorGUI.php.
References $_GET, $data, $ilUser, $table, $toolbar, $user, 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 151 of file class.ilSurveyEditorGUI.php.
References $tabs, $template, array, and object.
Referenced by addHeadingObject(), copyQuestionsToPoolObject(), createQuestionblockObject(), createQuestionObject(), editHeadingObject(), editQuestionblockObject(), executeCommand(), printViewObject(), questionsObject(), and removeHeadingObject().
ilSurveyEditorGUI::removeHeadingObject | ( | ) |
Definition at line 1152 of file class.ilSurveyEditorGUI.php.
References questionsSubtabs().
ilSurveyEditorGUI::removeQuestionsForm | ( | $checked_questionblocks, | |
$checked_questions, | |||
$checked_headings | |||
) |
Definition at line 464 of file class.ilSurveyEditorGUI.php.
References $counter, $data, $type, and SurveyQuestion\_getQuestionTypeName().
Referenced by removeQuestionsObject().
ilSurveyEditorGUI::removeQuestionsObject | ( | ) |
Definition at line 451 of file class.ilSurveyEditorGUI.php.
References gatherSelectedTableItems(), removeQuestionsForm(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilSurveyEditorGUI::resetfilterQuestionblockBrowserObject | ( | ) |
Definition at line 876 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::resetfilterQuestionBrowserObject | ( | ) |
Definition at line 804 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::saveDefineQuestionblockObject | ( | ) |
Definition at line 1010 of file class.ilSurveyEditorGUI.php.
References $_POST, $form, $title, editQuestionblockObject(), initQuestionblockForm(), and ilUtil\sendSuccess().
ilSurveyEditorGUI::saveHeadingObject | ( | ) |
Definition at line 1128 of file class.ilSurveyEditorGUI.php.
References $form, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), initHeadingForm(), and ilUtil\stripSlashes().
ilSurveyEditorGUI::saveObligatoryObject | ( | ) |
Definition at line 334 of file class.ilSurveyEditorGUI.php.
References $_POST, $id, $key, array, and ilUtil\sendSuccess().
|
protected |
Definition at line 742 of file class.ilSurveyEditorGUI.php.
References $ilUser, $tabs, $toolbar, $user, array, and ilSelectInputGUI\setOptions().
Referenced by browseForQuestionblocksObject(), and browseForQuestionsObject().
ilSurveyEditorGUI::unfoldQuestionblockObject | ( | ) |
Definition at line 370 of file class.ilSurveyEditorGUI.php.
References gatherSelectedTableItems(), ilUtil\sendInfo(), and ilUtil\sendSuccess().
|
protected |
Definition at line 21 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 41 of file class.ilSurveyEditorGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 26 of file class.ilSurveyEditorGUI.php.
Referenced by __construct().
|
protected |
Definition at line 59 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 58 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 64 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 36 of file class.ilSurveyEditorGUI.php.
Referenced by executeCommand(), questionsSubtabs(), and setBrowseForQuestionsSubtabs().
|
protected |
Definition at line 46 of file class.ilSurveyEditorGUI.php.
Referenced by printViewObject(), questionsObject(), and setBrowseForQuestionsSubtabs().
|
protected |
Definition at line 31 of file class.ilSurveyEditorGUI.php.
Referenced by __construct().
|
protected |
Definition at line 56 of file class.ilSurveyEditorGUI.php.
Referenced by createQuestionPool().
|
protected |
Definition at line 51 of file class.ilSurveyEditorGUI.php.
Referenced by changeDatatypeObject(), questionsObject(), and setBrowseForQuestionsSubtabs().