ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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, help(), ilObjSurvey\PRINT_HIDE_LABELS, ilObjSurvey\PRINT_SHOW_LABELS, and user().
ilSurveyEditorGUI::addHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1077 of file class.ilSurveyEditorGUI.php.
References initHeadingForm(), and questionsSubtabs().
Referenced by saveHeadingObject().
ilSurveyEditorGUI::browseForQuestionblocksObject | ( | ) |
Definition at line 839 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::browseForQuestionsObject | ( | ) |
Definition at line 771 of file class.ilSurveyEditorGUI.php.
References setBrowseForQuestionsSubtabs().
ilSurveyEditorGUI::changeDatatypeObject | ( | ) |
ilSurveyEditorGUI::confirmedRemoveHeadingObject | ( | ) |
Definition at line 1149 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::confirmRemoveQuestionsObject | ( | ) |
ilSurveyEditorGUI::copyQuestionsToPoolObject | ( | ) |
Definition at line 526 of file class.ilSurveyEditorGUI.php.
References ilObjSurvey\_instanciateQuestion(), gatherSelectedTableItems(), questionsSubtabs(), and ilUtil\sendInfo().
ilSurveyEditorGUI::createQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 919 of file class.ilSurveyEditorGUI.php.
References $_POST, gatherSelectedTableItems(), initQuestionblockForm(), questionsSubtabs(), and ilUtil\sendInfo().
ilSurveyEditorGUI::createQuestionObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 599 of file class.ilSurveyEditorGUI.php.
References $_GET, $_POST, $_SESSION, $name, executeCreateQuestionObject(), questionsSubtabs(), ilFormPropertyGUI\setRequired(), and ilRadioOption\setValue().
|
protected |
Definition at line 703 of file class.ilSurveyEditorGUI.php.
Referenced by executeCreateQuestionObject().
ilSurveyEditorGUI::editHeadingObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 1091 of file class.ilSurveyEditorGUI.php.
References initHeadingForm(), and questionsSubtabs().
ilSurveyEditorGUI::editQuestionblockObject | ( | ilPropertyFormGUI | $a_form = null | ) |
Definition at line 906 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 574 of file class.ilSurveyEditorGUI.php.
References $_POST, SurveyQuestion\_changeOriginalId(), ilObjSurvey\_instanciateQuestion(), and ilObject\_lookupObjId().
ilSurveyEditorGUI::executeCreateQuestionObject | ( | ) |
Definition at line 656 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 848 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::filterQuestionBrowserObject | ( | ) |
Definition at line 780 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 291 of file class.ilSurveyEditorGUI.php.
References $_POST.
Referenced by copyQuestionsToPoolObject(), createQuestionblockObject(), insertQuestions(), moveQuestionsObject(), removeQuestionsObject(), and unfoldQuestionblockObject().
|
protected |
Definition at line 1032 of file class.ilSurveyEditorGUI.php.
References ilObjAdvancedEditing\_getRichTextEditor(), ilObjAdvancedEditing\_getUsedHTMLTags(), ilRTE\ILIAS_IMG_MANAGER_PLUGIN, ilSelectInputGUI\setOptions(), and ilTextAreaInputGUI\setRows().
Referenced by addHeadingObject(), editHeadingObject(), and saveHeadingObject().
|
protected |
Definition at line 940 of file class.ilSurveyEditorGUI.php.
References $_POST, ilObjSurvey\_getQuestionblock(), and ilFormPropertyGUI\setInfo().
Referenced by createQuestionblockObject(), editQuestionblockObject(), and saveDefineQuestionblockObject().
ilSurveyEditorGUI::insertQuestionblocksObject | ( | ) |
Definition at line 862 of file class.ilSurveyEditorGUI.php.
References $_POST, and ilUtil\sendInfo().
|
protected |
Definition at line 403 of file class.ilSurveyEditorGUI.php.
References $_POST, $_SESSION, gatherSelectedTableItems(), and ilUtil\sendInfo().
Referenced by insertQuestionsAfterObject(), and insertQuestionsBeforeObject().
ilSurveyEditorGUI::insertQuestionsAfterObject | ( | ) |
Definition at line 398 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsBeforeObject | ( | ) |
Definition at line 393 of file class.ilSurveyEditorGUI.php.
References insertQuestions().
ilSurveyEditorGUI::insertQuestionsObject | ( | ) |
Definition at line 794 of file class.ilSurveyEditorGUI.php.
References $_POST, and ilUtil\sendInfo().
ilSurveyEditorGUI::moveQuestionsObject | ( | ) |
Definition at line 372 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 1165 of file class.ilSurveyEditorGUI.php.
References $_GET, $toolbar, ilSubmitButton\getInstance(), ilLinkButton\getInstance(), ilRPCServerSettings\getInstance(), ilMathJax\getInstance(), ilMathJax\PURPOSE_DEFERRED_PDF, ilMathJax\PURPOSE_PDF, questionsSubtabs(), ilMathJax\RENDER_PNG_AS_FO_FILE, and ilUtil\sendFailure().
ilSurveyEditorGUI::questionsObject | ( | ) |
Definition at line 206 of file class.ilSurveyEditorGUI.php.
References $_GET, $data, $ilUser, $toolbar, $user, ilObjSurveyQuestionPool\_getQuestiontypes(), ilObjSurvey\_hasDatasets(), ilSubmitButton\getInstance(), ilLinkButton\getInstance(), questionsSubtabs(), and ilUtil\sendFailure().
Referenced by moveQuestionsObject().
|
protected |
Definition at line 149 of file class.ilSurveyEditorGUI.php.
References $tabs.
Referenced by addHeadingObject(), copyQuestionsToPoolObject(), createQuestionblockObject(), createQuestionObject(), editHeadingObject(), editQuestionblockObject(), executeCommand(), printViewObject(), questionsObject(), and removeHeadingObject().
ilSurveyEditorGUI::removeHeadingObject | ( | ) |
Definition at line 1128 of file class.ilSurveyEditorGUI.php.
References questionsSubtabs().
ilSurveyEditorGUI::removeQuestionsForm | ( | $checked_questionblocks, | |
$checked_questions, | |||
$checked_headings | |||
) |
Definition at line 456 of file class.ilSurveyEditorGUI.php.
References $data, $type, and SurveyQuestion\_getQuestionTypeName().
Referenced by removeQuestionsObject().
ilSurveyEditorGUI::removeQuestionsObject | ( | ) |
Definition at line 443 of file class.ilSurveyEditorGUI.php.
References gatherSelectedTableItems(), removeQuestionsForm(), ilUtil\sendInfo(), and ilUtil\sendQuestion().
ilSurveyEditorGUI::resetfilterQuestionblockBrowserObject | ( | ) |
Definition at line 855 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::resetfilterQuestionBrowserObject | ( | ) |
Definition at line 787 of file class.ilSurveyEditorGUI.php.
ilSurveyEditorGUI::saveDefineQuestionblockObject | ( | ) |
Definition at line 987 of file class.ilSurveyEditorGUI.php.
References $_POST, editQuestionblockObject(), and initQuestionblockForm().
ilSurveyEditorGUI::saveHeadingObject | ( | ) |
Definition at line 1105 of file class.ilSurveyEditorGUI.php.
References ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), addHeadingObject(), initHeadingForm(), and ilUtil\stripSlashes().
ilSurveyEditorGUI::saveObligatoryObject | ( | ) |
|
protected |
Definition at line 728 of file class.ilSurveyEditorGUI.php.
References $ilUser, $tabs, $toolbar, and $user.
Referenced by browseForQuestionblocksObject(), and browseForQuestionsObject().
ilSurveyEditorGUI::unfoldQuestionblockObject | ( | ) |
Definition at line 360 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().