ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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, ilObjSurvey\PRINT_HIDE_LABELS, ilObjSurvey\PRINT_SHOW_LABELS, and user().
ilSurveyEditorGUI::addHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1103 of file class.ilSurveyEditorGUI.php.
References initHeadingForm(), and questionsSubtabs().
Referenced by saveHeadingObject().
ilSurveyEditorGUI::browseForQuestionblocksObject | ( | ) |
Definition at line 860 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::browseForQuestionsObject | ( | ) |
Definition at line 788 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::changeDatatypeObject | ( | ) |
ilSurveyEditorGUI::confirmedRemoveHeadingObject | ( | ) |
Definition at line 1177 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::confirmRemoveQuestionsObject | ( | ) |
Definition at line 508 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 538 of file class.ilSurveyEditorGUI.php.
References $form, ilObjSurvey\_instanciateQuestion(), gatherSelectedTableItems(), questionsSubtabs(), ilUtil\sendInfo(), and ilSelectInputGUI\setOptions().
ilSurveyEditorGUI::createQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 944 of file class.ilSurveyEditorGUI.php.
References $_POST, gatherSelectedTableItems(), initQuestionblockForm(), questionsSubtabs(), and ilUtil\sendInfo().
ilSurveyEditorGUI::createQuestionObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 612 of file class.ilSurveyEditorGUI.php.
References $_GET, $_POST, $_SESSION, $form, $name, executeCreateQuestionObject(), questionsSubtabs(), ilSelectInputGUI\setOptions(), and ilFormPropertyGUI\setRequired().
|
protected |
Definition at line 718 of file class.ilSurveyEditorGUI.php.
Referenced by executeCreateQuestionObject().
ilSurveyEditorGUI::editHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1117 of file class.ilSurveyEditorGUI.php.
References initHeadingForm(), and questionsSubtabs().
ilSurveyEditorGUI::editQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 931 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(), and questionsSubtabs().
ilSurveyEditorGUI::executeCopyQuestionsToPoolObject | ( | ) |
Definition at line 587 of file class.ilSurveyEditorGUI.php.
References $_POST, SurveyQuestion\_changeOriginalId(), ilObjSurvey\_instanciateQuestion(), and ilObject\_lookupObjId().
ilSurveyEditorGUI::executeCreateQuestionObject | ( | ) |
Definition at line 670 of file class.ilSurveyEditorGUI.php.
References $_GET, $_POST, $_SESSION, SurveyQuestionGUI\_getQuestionGUI(), ilObject\_lookupObjId(), createQuestionPool(), and ilUtil\sendFailure().
Referenced by createQuestionObject().
ilSurveyEditorGUI::filterQuestionblockBrowserObject | ( | ) |
Definition at line 870 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::filterQuestionBrowserObject | ( | ) |
Definition at line 798 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.
Referenced by copyQuestionsToPoolObject(), createQuestionblockObject(), insertQuestions(), moveQuestionsObject(), removeQuestionsObject(), and unfoldQuestionblockObject().
|
protected |
Definition at line 1058 of file class.ilSurveyEditorGUI.php.
References $form, $key, PHPMailer\PHPMailer\$options, ilObjAdvancedEditing\_getUsedHTMLTags(), ilRTE\ILIAS_IMG_MANAGER_PLUGIN, ilSelectInputGUI\setOptions(), and ilTextAreaInputGUI\setRows().
Referenced by addHeadingObject(), editHeadingObject(), and saveHeadingObject().
|
protected |
Definition at line 965 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 886 of file class.ilSurveyEditorGUI.php.
References $_POST, and ilUtil\sendInfo().
|
protected |
Definition at line 413 of file class.ilSurveyEditorGUI.php.
References $_POST, $_SESSION, $target, gatherSelectedTableItems(), and ilUtil\sendInfo().
Referenced by insertQuestionsAfterObject(), and insertQuestionsBeforeObject().
ilSurveyEditorGUI::insertQuestionsAfterObject | ( | ) |
Definition at line 408 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsBeforeObject | ( | ) |
Definition at line 403 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsObject | ( | ) |
Definition at line 814 of file class.ilSurveyEditorGUI.php.
References $_POST, and ilUtil\sendInfo().
ilSurveyEditorGUI::moveQuestionsObject | ( | ) |
Definition at line 382 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 1193 of file class.ilSurveyEditorGUI.php.
References $_GET, $template, $toolbar, ilSubmitButton\getInstance(), ilLinkButton\getInstance(), ilRPCServerSettings\getInstance(), ilMathJax\getInstance(), 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(), ilSubmitButton\getInstance(), ilLinkButton\getInstance(), questionsSubtabs(), ilUtil\sendFailure(), and ilSelectInputGUI\setOptions().
Referenced by moveQuestionsObject().
|
protected |
Definition at line 151 of file class.ilSurveyEditorGUI.php.
References $tabs, and $template.
Referenced by addHeadingObject(), copyQuestionsToPoolObject(), createQuestionblockObject(), createQuestionObject(), editHeadingObject(), editQuestionblockObject(), executeCommand(), printViewObject(), questionsObject(), and removeHeadingObject().
ilSurveyEditorGUI::removeHeadingObject | ( | ) |
Definition at line 1155 of file class.ilSurveyEditorGUI.php.
References questionsSubtabs().
ilSurveyEditorGUI::removeQuestionsForm | ( | $checked_questionblocks, | |
$checked_questions, | |||
$checked_headings | |||
) |
Definition at line 466 of file class.ilSurveyEditorGUI.php.
References $data, $type, and SurveyQuestion\_getQuestionTypeName().
Referenced by removeQuestionsObject().
ilSurveyEditorGUI::removeQuestionsObject | ( | ) |
Definition at line 453 of file class.ilSurveyEditorGUI.php.
References gatherSelectedTableItems(), removeQuestionsForm(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilSurveyEditorGUI::resetfilterQuestionblockBrowserObject | ( | ) |
Definition at line 878 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::resetfilterQuestionBrowserObject | ( | ) |
Definition at line 806 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::saveDefineQuestionblockObject | ( | ) |
Definition at line 1013 of file class.ilSurveyEditorGUI.php.
References $_POST, $form, $title, editQuestionblockObject(), and initQuestionblockForm().
ilSurveyEditorGUI::saveHeadingObject | ( | ) |
Definition at line 1131 of file class.ilSurveyEditorGUI.php.
References $form, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), initHeadingForm(), and ilUtil\stripSlashes().
ilSurveyEditorGUI::saveObligatoryObject | ( | ) |
|
protected |
Definition at line 744 of file class.ilSurveyEditorGUI.php.
References $ilUser, $tabs, $toolbar, $user, and ilSelectInputGUI\setOptions().
Referenced by browseForQuestionblocksObject(), and browseForQuestionsObject().
ilSurveyEditorGUI::unfoldQuestionblockObject | ( | ) |
Definition at line 370 of file class.ilSurveyEditorGUI.php.
References gatherSelectedTableItems(), and ilUtil\sendInfo().
|
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().