ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
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) | |
copyQuestionObject () | |
copyPasteObject ($pos=0) | |
Paste from clipboard. More... | |
clearClipboard () | |
Protected Attributes | |
ILIAS Survey Sequence SequenceManager | $sequence_manager |
ILIAS Survey InternalGUIService | $gui |
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 987 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), initHeadingForm(), and questionsSubtabs().
Referenced by saveHeadingObject().
ilSurveyEditorGUI::browseForQuestionblocksObject | ( | ) |
Definition at line 753 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::browseForQuestionsObject | ( | ) |
Definition at line 703 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::changeDatatypeObject | ( | ) |
Definition at line 685 of file class.ilSurveyEditorGUI.php.
References $user, ILIAS\Repository\ctrl(), and ilObjUser\writePref().
|
protected |
Definition at line 1211 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\object().
Referenced by copyPasteObject().
ilSurveyEditorGUI::confirmedRemoveHeadingObject | ( | ) |
Definition at line 1061 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyEditorGUI::confirmRemoveQuestionsObject | ( | ) |
Definition at line 496 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Paste from clipboard.
int | $a_id | target position |
Definition at line 1110 of file class.ilSurveyEditorGUI.php.
References ilObjSurvey\_instanciateQuestion(), clearClipboard(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), null, and ILIAS\Repository\object().
Referenced by insertQuestions().
|
protected |
Definition at line 1090 of file class.ilSurveyEditorGUI.php.
References $id, $lng, ILIAS\Repository\ctrl(), ILIAS\Repository\object(), and ilLanguage\txt().
ilSurveyEditorGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 515 of file class.ilSurveyEditorGUI.php.
References ilObjSurvey\_instanciateQuestion(), ILIAS\Repository\ctrl(), gatherSelectedTableItems(), ILIAS\Repository\lng(), ILIAS\Repository\object(), questionsSubtabs(), and ilSelectInputGUI\setOptions().
ilSurveyEditorGUI::createQuestionblockObject | ( | ?ilPropertyFormGUI | $a_form = null | ) |
Definition at line 820 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), gatherSelectedTableItems(), initQuestionblockForm(), ILIAS\Repository\lng(), null, and questionsSubtabs().
ilSurveyEditorGUI::createQuestionObject | ( | ?ilPropertyFormGUI | $a_form = null , |
$sel_question_types = null , |
|||
?string | $pgov_pos = null |
||
) |
Definition at line 588 of file class.ilSurveyEditorGUI.php.
References executeCreateQuestionObject(), and null.
|
protected |
Definition at line 639 of file class.ilSurveyEditorGUI.php.
References $tree, ilTree\getParentId(), and ILIAS\Repository\object().
ilSurveyEditorGUI::editHeadingObject | ( | ?ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1002 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), initHeadingForm(), and questionsSubtabs().
ilSurveyEditorGUI::editQuestionblockObject | ( | ?ilPropertyFormGUI | $a_form = null | ) |
Definition at line 806 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), initQuestionblockForm(), and questionsSubtabs().
Referenced by saveDefineQuestionblockObject().
ilSurveyEditorGUI::executeCommand | ( | ) |
Definition at line 112 of file class.ilSurveyEditorGUI.php.
References $help, $tabs, SurveyQuestionGUI\_getQuestionGUI(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), null, and ilHelpGUI\setScreenIdComponent().
ilSurveyEditorGUI::executeCopyQuestionsToPoolObject | ( | ) |
Definition at line 563 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 596 of file class.ilSurveyEditorGUI.php.
References $requested_pgov, SurveyQuestionGUI\_getQuestionGUI(), ILIAS\Repository\ctrl(), and ILIAS\Repository\object().
Referenced by createQuestionObject().
ilSurveyEditorGUI::filterQuestionblockBrowserObject | ( | ) |
Definition at line 762 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyEditorGUI::filterQuestionBrowserObject | ( | ) |
Definition at line 712 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl().
|
protected |
Gather (and filter) selected items from table gui.
Definition at line 279 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\object().
Referenced by copyQuestionsToPoolObject(), createQuestionblockObject(), insertQuestions(), moveQuestionsObject(), removeQuestionsObject(), and unfoldQuestionblockObject().
ilSurveyEditorGUI::getAutoBlockTitle | ( | ) |
Definition at line 1216 of file class.ilSurveyEditorGUI.php.
References $lng, and ilLanguage\txt().
|
protected |
Definition at line 947 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and ilTextAreaInputGUI\setRows().
Referenced by addHeadingObject(), editHeadingObject(), and saveHeadingObject().
|
protected |
Definition at line 843 of file class.ilSurveyEditorGUI.php.
References ilObjSurvey\_getQuestionblock(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and null.
Referenced by createQuestionblockObject(), editQuestionblockObject(), and saveDefineQuestionblockObject().
ilSurveyEditorGUI::insertQuestionblocksObject | ( | ) |
Definition at line 776 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and null.
|
protected |
Definition at line 392 of file class.ilSurveyEditorGUI.php.
References copyPasteObject(), ILIAS\Repository\ctrl(), gatherSelectedTableItems(), ILIAS\Repository\lng(), null, and ILIAS\Repository\object().
Referenced by insertQuestionsAfterObject(), and insertQuestionsBeforeObject().
ilSurveyEditorGUI::insertQuestionsAfterObject | ( | ) |
Definition at line 387 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsBeforeObject | ( | ) |
Definition at line 382 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsObject | ( | ) |
Definition at line 726 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and null.
ilSurveyEditorGUI::moveQuestionsObject | ( | ) |
Definition at line 362 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), gatherSelectedTableItems(), ILIAS\Repository\lng(), ILIAS\Repository\object(), and questionsObject().
ilSurveyEditorGUI::printListViewObject | ( | ) |
Definition at line 1084 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\object().
ilSurveyEditorGUI::printListViewSelectionObject | ( | ) |
Definition at line 1078 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\object().
ilSurveyEditorGUI::printViewObject | ( | ) |
Definition at line 1072 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\object().
ilSurveyEditorGUI::questionsObject | ( | ) |
Definition at line 188 of file class.ilSurveyEditorGUI.php.
References $data, $toolbar, $user, ilObjSurveyQuestionPool\_getQuestiontypes(), ilObjSurvey\_hasDatasets(), ILIAS\Repository\ctrl(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\object(), questionsSubtabs(), and ilSelectInputGUI\setOptions().
Referenced by moveQuestionsObject().
|
protected |
Definition at line 151 of file class.ilSurveyEditorGUI.php.
References $tabs, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\object().
Referenced by addHeadingObject(), copyQuestionsToPoolObject(), createQuestionblockObject(), editHeadingObject(), editQuestionblockObject(), questionsObject(), and removeHeadingObject().
ilSurveyEditorGUI::removeHeadingObject | ( | ) |
Definition at line 1040 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 456 of file class.ilSurveyEditorGUI.php.
References $data, SurveyQuestion\_getQuestionTypeName(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by removeQuestionsObject().
ilSurveyEditorGUI::removeQuestionsObject | ( | ) |
Definition at line 444 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), gatherSelectedTableItems(), ILIAS\Repository\lng(), and removeQuestionsForm().
ilSurveyEditorGUI::resetfilterQuestionblockBrowserObject | ( | ) |
Definition at line 769 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyEditorGUI::resetfilterQuestionBrowserObject | ( | ) |
Definition at line 719 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl().
ilSurveyEditorGUI::saveDefineQuestionblockObject | ( | ) |
Definition at line 899 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), editQuestionblockObject(), initQuestionblockForm(), and ILIAS\Repository\lng().
ilSurveyEditorGUI::saveHeadingObject | ( | ) |
Definition at line 1017 of file class.ilSurveyEditorGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), ILIAS\Repository\ctrl(), initHeadingForm(), and ilUtil\stripSlashes().
ilSurveyEditorGUI::saveObligatoryObject | ( | ) |
Definition at line 317 of file class.ilSurveyEditorGUI.php.
References $id, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
protected |
Definition at line 664 of file class.ilSurveyEditorGUI.php.
References $tabs, $toolbar, $user, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilSelectInputGUI\setOptions().
Referenced by browseForQuestionblocksObject(), and browseForQuestionsObject().
ilSurveyEditorGUI::setRequestedPgov | ( | string | $pgov | ) |
Definition at line 107 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::unfoldQuestionblockObject | ( | ) |
Definition at line 350 of file class.ilSurveyEditorGUI.php.
References ILIAS\Repository\ctrl(), gatherSelectedTableItems(), and ILIAS\Repository\lng().
|
protected |
Definition at line 40 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 39 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 33 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 44 of file class.ilSurveyEditorGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 35 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 41 of file class.ilSurveyEditorGUI.php.
Referenced by copyQuestionObject(), and getAutoBlockTitle().
|
protected |
Definition at line 49 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 48 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 34 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 50 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 38 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 37 of file class.ilSurveyEditorGUI.php.
Referenced by executeCreateQuestionObject().
|
protected |
Definition at line 32 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 43 of file class.ilSurveyEditorGUI.php.
Referenced by executeCommand(), questionsSubtabs(), and setBrowseForQuestionsSubtabs().
|
protected |
Definition at line 45 of file class.ilSurveyEditorGUI.php.
Referenced by questionsObject(), and setBrowseForQuestionsSubtabs().
|
protected |
Definition at line 42 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 47 of file class.ilSurveyEditorGUI.php.
Referenced by createQuestionPool().
|
protected |
Definition at line 36 of file class.ilSurveyEditorGUI.php.
|
protected |
Definition at line 46 of file class.ilSurveyEditorGUI.php.
Referenced by changeDatatypeObject(), questionsObject(), and setBrowseForQuestionsSubtabs().