ILIAS
release_8 Revision v8.19
|
Class ilSurveyEditorGUI. More...
Protected Member Functions | |
questionsSubtabs (string $a_cmd) | |
gatherSelectedTableItems (bool $allow_blocks=true, bool $allow_questions=true, bool $allow_headings=false, bool $allow_questions_in_blocks=false) | |
Gather (and filter) selected items from table gui. More... | |
insertQuestions (int $insert_mode) | |
createQuestionPool ($name="dummy") | |
setBrowseForQuestionsSubtabs () | |
initQuestionblockForm (?int $a_block_id=null, ?array $a_question_ids=null) | |
initHeadingForm (?int $a_question_id=null) | |
Protected Attributes | |
ILIAS Survey Sequence SequenceManager | $sequence_manager |
ILIAS Survey PrintView GUIService | |
ILIAS HTTP Services | $http |
ILIAS DI UIServices | $ui |
string | $requested_pgov |
EditingGUIRequest | $request |
EditManager | $edit_manager |
ilCtrl | $ctrl |
ilLanguage | $lng |
ilGlobalTemplateInterface | $tpl |
ilTabsGUI | $tabs |
ilHelpGUI | $help |
ilToolbarGUI | $toolbar |
ilObjUser | $user |
ilTree | $tree |
ilObjSurveyGUI | $parent_gui |
ilObjSurvey | $object |
array | $print_options |
Class ilSurveyEditorGUI.
Definition at line 30 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::addHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1120 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), initHeadingForm(), and questionsSubtabs().
Referenced by saveHeadingObject().
ilSurveyEditorGUI::browseForQuestionblocksObject | ( | ) |
Definition at line 864 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::browseForQuestionsObject | ( | ) |
Definition at line 793 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::changeDatatypeObject | ( | ) |
Definition at line 775 of file class.ilSurveyEditorGUI.php.
References $ilUser, $user, and ILIAS\Repository\ctrl().
ilSurveyEditorGUI::confirmedRemoveHeadingObject | ( | ) |
Definition at line 1194 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyEditorGUI::confirmRemoveQuestionsObject | ( | ) |
Definition at line 509 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilSurveyEditorGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 528 of file class.ilSurveyEditorGUI.php.
References ilObjSurvey\_instanciateQuestion(), ILIAS\Repository\ctrl(), gatherSelectedTableItems(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and questionsSubtabs().
ilSurveyEditorGUI::createQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 947 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), gatherSelectedTableItems(), initQuestionblockForm(), ILIAS\Repository\lng(), and questionsSubtabs().
ilSurveyEditorGUI::createQuestionObject | ( | ilPropertyFormGUI | $a_form = null , |
$sel_question_types = null , |
|||
string | $pgov_pos = null |
||
) |
Definition at line 601 of file class.ilSurveyEditorGUI.php.
References $name, ILIAS\Repository\ctrl(), executeCreateQuestionObject(), ILIAS\Repository\lng(), ILIAS\Repository\object(), questionsSubtabs(), ilFormPropertyGUI\setRequired(), and ilRadioOption\setValue().
|
protected |
Definition at line 725 of file class.ilSurveyEditorGUI.php.
References $name, $tree, ilTree\getParentId(), and ILIAS\Repository\object().
Referenced by executeCreateQuestionObject().
ilSurveyEditorGUI::editHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1135 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), initHeadingForm(), and questionsSubtabs().
ilSurveyEditorGUI::editQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 933 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), initQuestionblockForm(), and questionsSubtabs().
Referenced by saveDefineQuestionblockObject().
ilSurveyEditorGUI::executeCommand | ( | ) |
Definition at line 108 of file class.ilSurveyEditorGUI.php.
References $help, $tabs, SurveyQuestionGUI\_getQuestionGUI(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), questionsSubtabs(), and ilHelpGUI\setScreenIdComponent().
ilSurveyEditorGUI::executeCopyQuestionsToPoolObject | ( | ) |
Definition at line 576 of file class.ilSurveyEditorGUI.php.
References SurveyQuestion\_changeOriginalId(), ilObjSurvey\_instanciateQuestion(), ilObject\_lookupObjId(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilSurveyEditorGUI::executeCreateQuestionObject | ( | ?string | $q_type = null , |
?int | $pool_usage = null , |
||
?string | $pgov_pos = null |
||
) |
Definition at line 662 of file class.ilSurveyEditorGUI.php.
References $requested_pgov, SurveyQuestionGUI\_getQuestionGUI(), ilObject\_lookupObjId(), createQuestionPool(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by createQuestionObject().
ilSurveyEditorGUI::filterQuestionblockBrowserObject | ( | ) |
Definition at line 873 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyEditorGUI::filterQuestionBrowserObject | ( | ) |
Definition at line 802 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Gather (and filter) selected items from table gui.
Definition at line 297 of file class.ilSurveyEditorGUI.php.
References ILIAS\LTI\ToolProvider\$key, and ILIAS\Repository\object().
Referenced by copyQuestionsToPoolObject(), createQuestionblockObject(), insertQuestions(), moveQuestionsObject(), removeQuestionsObject(), and unfoldQuestionblockObject().
|
protected |
Definition at line 1074 of file class.ilSurveyEditorGUI.php.
References ILIAS\LTI\ToolProvider\$key, ilObjAdvancedEditing\_getRichTextEditor(), ilObjAdvancedEditing\_getUsedHTMLTags(), ILIAS\Repository\ctrl(), ilRTE\ILIAS_IMG_MANAGER_PLUGIN, ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilTextAreaInputGUI\setRows().
Referenced by addHeadingObject(), editHeadingObject(), and saveHeadingObject().
|
protected |
Definition at line 970 of file class.ilSurveyEditorGUI.php.
References ilObjSurvey\_getQuestionblock(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setInfo().
Referenced by createQuestionblockObject(), editQuestionblockObject(), and saveDefineQuestionblockObject().
ilSurveyEditorGUI::insertQuestionblocksObject | ( | ) |
Definition at line 887 of file class.ilSurveyEditorGUI.php.
References $requested_pgov, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Definition at line 410 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), gatherSelectedTableItems(), and ILIAS\Repository\lng().
Referenced by insertQuestionsAfterObject(), and insertQuestionsBeforeObject().
ilSurveyEditorGUI::insertQuestionsAfterObject | ( | ) |
Definition at line 405 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsBeforeObject | ( | ) |
Definition at line 400 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsObject | ( | ) |
Definition at line 816 of file class.ilSurveyEditorGUI.php.
References $requested_pgov, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilSurveyEditorGUI::moveQuestionsObject | ( | ) |
Definition at line 380 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), gatherSelectedTableItems(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and questionsObject().
ilSurveyEditorGUI::printListViewObject | ( | ) |
Definition at line 1217 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\object().
ilSurveyEditorGUI::printListViewSelectionObject | ( | ) |
Definition at line 1211 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\object().
ilSurveyEditorGUI::printViewObject | ( | ) |
Definition at line 1205 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\object().
ilSurveyEditorGUI::questionsObject | ( | ) |
Definition at line 206 of file class.ilSurveyEditorGUI.php.
References $data, $ilUser, $toolbar, $user, ilObjSurveyQuestionPool\_getQuestiontypes(), ilObjSurvey\_hasDatasets(), ILIAS\Repository\ctrl(), ilSubmitButton\getInstance(), ilLinkButton\getInstance(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and questionsSubtabs().
Referenced by moveQuestionsObject().
|
protected |
Definition at line 163 of file class.ilSurveyEditorGUI.php.
References $tabs, ilTabsGUI\addSubTab(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by addHeadingObject(), copyQuestionsToPoolObject(), createQuestionblockObject(), createQuestionObject(), editHeadingObject(), editQuestionblockObject(), executeCommand(), questionsObject(), and removeHeadingObject().
ilSurveyEditorGUI::removeHeadingObject | ( | ) |
Definition at line 1173 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and questionsSubtabs().
ilSurveyEditorGUI::removeQuestionsForm | ( | array | $checked_questionblocks, |
array | $checked_questions, | ||
array | $checked_headings | ||
) |
Definition at line 469 of file class.ilSurveyEditorGUI.php.
References $data, $type, SurveyQuestion\_getQuestionTypeName(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by removeQuestionsObject().
ilSurveyEditorGUI::removeQuestionsObject | ( | ) |
Definition at line 457 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), gatherSelectedTableItems(), ILIAS\Repository\lng(), and removeQuestionsForm().
ilSurveyEditorGUI::resetfilterQuestionblockBrowserObject | ( | ) |
Definition at line 880 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyEditorGUI::resetfilterQuestionBrowserObject | ( | ) |
Definition at line 809 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyEditorGUI::saveDefineQuestionblockObject | ( | ) |
Definition at line 1026 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), editQuestionblockObject(), initQuestionblockForm(), and ILIAS\Repository\lng().
ilSurveyEditorGUI::saveHeadingObject | ( | ) |
Definition at line 1150 of file class.ilSurveyEditorGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), ILIAS\Repository\ctrl(), initHeadingForm(), and ilUtil\stripSlashes().
ilSurveyEditorGUI::saveObligatoryObject | ( | ) |
Definition at line 335 of file class.ilSurveyEditorGUI.php.
References $id, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Definition at line 750 of file class.ilSurveyEditorGUI.php.
References $ilUser, $tabs, $toolbar, $user, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by browseForQuestionblocksObject(), and browseForQuestionsObject().
ilSurveyEditorGUI::setRequestedPgov | ( | string | $pgov | ) |
Definition at line 103 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::unfoldQuestionblockObject | ( | ) |
Definition at line 368 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), gatherSelectedTableItems(), and ILIAS\Repository\lng().
|
protected |
Definition at line 39 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 38 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 43 of file class.ilSurveyEditorGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 34 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 40 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 48 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 47 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 33 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 49 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 37 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 36 of file class.ilSurveyEditorGUI.php.
Referenced by executeCreateQuestionObject(), insertQuestionblocksObject(), and insertQuestionsObject().
|
protected |
Definition at line 32 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 42 of file class.ilSurveyEditorGUI.php.
Referenced by executeCommand(), questionsSubtabs(), and setBrowseForQuestionsSubtabs().
|
protected |
Definition at line 44 of file class.ilSurveyEditorGUI.php.
Referenced by questionsObject(), and setBrowseForQuestionsSubtabs().
|
protected |
Definition at line 41 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 46 of file class.ilSurveyEditorGUI.php.
Referenced by createQuestionPool().
|
protected |
Definition at line 35 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 45 of file class.ilSurveyEditorGUI.php.
Referenced by changeDatatypeObject(), questionsObject(), and setBrowseForQuestionsSubtabs().