ILIAS
trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
|
class ilobjcourseobjectivesgui More...
Public Member Functions | |
__construct (int $a_course_id) | |
executeCommand () | |
getSettings () | |
__initObjectivesObject (int $a_id=0) | |
__initLMObject ($a_objective_id=0) | |
__initQuestionObject ($a_objective_id=0) | |
setSubTabs (string $a_active="") | |
create (?ilPropertyFormGUI $form=null) | |
Data Fields | |
const | MODE_UNDEFINED = 0 |
const | MODE_CREATE = 1 |
const | MODE_UPDATE = 2 |
Protected Member Functions | |
initObjectiveIdFromQuery () | |
initObjectiveIdsFromPost () | |
initTestTypeFromQuery () | |
listObjectives () | |
questionOverview () | |
saveQuestionOverview () | |
__initCourseObject () | |
edit (?ilPropertyFormGUI $form=null) | |
save () | |
materialAssignment () | |
updateMaterialAssignment () | |
selfAssessmentAssignment () | |
updateSelfAssessmentAssignment () | |
selfAssessmentLimits () | |
updateSelfAssessmentLimits () | |
finalTestAssignment () | |
isRandomTestType (int $a_tst_type=0) | |
showRandomTestAssignment (?ilPropertyFormGUI $form=null) | |
initFormRandom () | |
saveRandom () | |
updateFinalTestAssignment () | |
finalTestLimits () | |
updateFinalTestLimits () | |
initFormLimits (string $a_mode) | |
initFormTitle (string $a_mode) | |
initWizard (int $active_step) | |
Protected Attributes | |
const | STEP_SETTINGS = 1 |
const | STEP_MATERIAL_ASSIGNMENT = 2 |
const | STEP_INITIAL_TEST_ASSIGNMENT = 3 |
const | STEP_INITIAL_TEST_LIMIT = 4 |
const | STEP_FINAL_TEST_ASSIGNMENT = 5 |
const | STEP_FINAL_TEST_LIMIT = 6 |
ilObjCourse | $course_obj |
ilCourseObjective | $objective = null |
ilCourseObjective | $objectives_obj = null |
ilCourseObjectiveMaterials | $objectives_lm_obj = null |
ilCourseObjectiveQuestion | $objectives_qst_obj = null |
ilCourseObjectiveQuestion | $questions = null |
int | $course_id |
ilLOSettings | $settings |
int | $test_type = 0 |
ilPropertyFormGUI | $form = null |
ilDBInterface | $db |
ilCtrlInterface | $ctrl |
ilErrorHandling | $ilErr |
ilLanguage | $lng |
ilGlobalTemplateInterface | $tpl |
ilTree | $tree |
ilTabsGUI | $tabs |
ilToolbarGUI | $toolbar |
ilAccessHandler | $access |
ilRbacSystem | $rbacsystem |
ilHelpGUI | $help |
ilObjectDataCache | $objectDataCache |
Workflow | $workflow |
UIRenderer | $renderer |
GlobalHttpState | $http |
Factory | $refinery |
Private Member Functions | |
getIntArrayFromPost (string $key) | |
getStringArrayFromPost (string $key) | |
Private Attributes | |
ilLogger | $logger |
class ilobjcourseobjectivesgui
Definition at line 31 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::__construct | ( | int | $a_course_id | ) |
Definition at line 73 of file class.ilCourseObjectivesGUI.php.
References $DIC, __initCourseObject(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilLOSettings\getInstanceByObjId(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\objectDataCache(), ILIAS\Repository\refinery(), renderer(), ILIAS\Repository\settings(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
|
protected |
PhpFieldAssignmentTypeMismatchInspection
Definition at line 258 of file class.ilCourseObjectivesGUI.php.
References ilLogLevel\ERROR, ilObjectFactory\getInstanceByRefId(), and ILIAS\Repository\logger().
Referenced by __construct().
ilCourseObjectivesGUI::__initLMObject | ( | $a_objective_id = 0 | ) |
Definition at line 272 of file class.ilCourseObjectivesGUI.php.
Referenced by updateMaterialAssignment().
ilCourseObjectivesGUI::__initObjectivesObject | ( | int | $a_id = 0 | ) |
Definition at line 267 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::__initQuestionObject | ( | $a_objective_id = 0 | ) |
Definition at line 277 of file class.ilCourseObjectivesGUI.php.
References $objectives_qst_obj.
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), saveRandom(), selfAssessmentAssignment(), selfAssessmentLimits(), showRandomTestAssignment(), updateFinalTestAssignment(), updateFinalTestLimits(), updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
ilCourseObjectivesGUI::create | ( | ?ilPropertyFormGUI | $form = null | ) |
Definition at line 294 of file class.ilCourseObjectivesGUI.php.
References __initQuestionObject(), ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initFormTitle(), initObjectiveIdFromQuery(), initWizard(), ilSession\set(), and setSubTabs().
Referenced by save().
|
protected |
Definition at line 312 of file class.ilCourseObjectivesGUI.php.
References __initQuestionObject(), ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initFormTitle(), initObjectiveIdFromQuery(), initWizard(), ILIAS\Repository\lng(), ilSession\set(), and setSubTabs().
Referenced by save().
ilCourseObjectivesGUI::executeCommand | ( | ) |
Definition at line 102 of file class.ilCourseObjectivesGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\tabs().
|
protected |
Definition at line 664 of file class.ilCourseObjectivesGUI.php.
References __initQuestionObject(), ilCourseObjectiveQuestion\_getAssignableTests(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), initObjectiveIdFromQuery(), initWizard(), isRandomTestType(), ILIAS\Repository\lng(), setSubTabs(), showRandomTestAssignment(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by updateFinalTestAssignment(), updateMaterialAssignment(), updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
|
protected |
Definition at line 946 of file class.ilCourseObjectivesGUI.php.
References __initQuestionObject(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initFormLimits(), initObjectiveIdFromQuery(), initWizard(), ILIAS\Repository\lng(), and setSubTabs().
Referenced by updateFinalTestAssignment(), and updateFinalTestLimits().
|
private |
Definition at line 405 of file class.ilCourseObjectivesGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by updateMaterialAssignment().
ilCourseObjectivesGUI::getSettings | ( | ) |
Definition at line 150 of file class.ilCourseObjectivesGUI.php.
References $settings.
Referenced by initFormRandom(), initWizard(), isRandomTestType(), saveRandom(), and updateMaterialAssignment().
|
private |
Definition at line 421 of file class.ilCourseObjectivesGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by updateMaterialAssignment().
|
protected |
Definition at line 1009 of file class.ilCourseObjectivesGUI.php.
References $form, $GLOBALS, XapiProxy\$req, ilObject\_getIcon(), ilObject\_lookupDescription(), ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), and ilCustomInputGUI\setHtml().
Referenced by finalTestLimits(), and selfAssessmentLimits().
|
protected |
Definition at line 743 of file class.ilCourseObjectivesGUI.php.
References $form, $test_type, ilObject\_lookupObjId(), ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilObjectFactory\getInstanceByRefId(), getSettings(), initObjectiveIdFromQuery(), ILIAS\Repository\lng(), ilLORandomTestQuestionPools\lookupLimit(), ilLORandomTestQuestionPools\lookupSequencesByType(), null, ilFormGUI\setFormAction(), ilFormPropertyGUI\setRequired(), ilPropertyFormGUI\setTitle(), ilRadioGroupInputGUI\setValue(), ilNumberInputGUI\setValue(), and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by saveRandom(), and showRandomTestAssignment().
|
protected |
Definition at line 1098 of file class.ilCourseObjectivesGUI.php.
References $form, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), and ilTextAreaInputGUI\setValue().
Referenced by create(), edit(), and save().
|
protected |
Definition at line 115 of file class.ilCourseObjectivesGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), initFormRandom(), materialAssignment(), save(), saveRandom(), selfAssessmentAssignment(), selfAssessmentLimits(), showRandomTestAssignment(), updateFinalTestAssignment(), updateFinalTestLimits(), updateMaterialAssignment(), updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
|
protected |
Definition at line 126 of file class.ilCourseObjectivesGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
|
protected |
Definition at line 139 of file class.ilCourseObjectivesGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by saveRandom(), and showRandomTestAssignment().
|
protected |
Definition at line 1132 of file class.ilCourseObjectivesGUI.php.
References ILIAS\Repository\ctrl(), getSettings(), isRandomTestType(), ILIAS\Repository\lng(), null, renderer(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), and showRandomTestAssignment().
|
protected |
Definition at line 706 of file class.ilCourseObjectivesGUI.php.
References $test_type, ilObject\_lookupObjId(), ilObjTest\_lookupRandomTest(), and getSettings().
Referenced by finalTestAssignment(), initWizard(), and selfAssessmentAssignment().
|
protected |
Definition at line 155 of file class.ilCourseObjectivesGUI.php.
References ilCourseObjective\_getObjectiveIds(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilSession\set(), and ILIAS\Repository\toolbar().
|
protected |
Definition at line 372 of file class.ilCourseObjectivesGUI.php.
References __initQuestionObject(), ilCourseObjectiveMaterials\_getAssignableMaterials(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), initObjectiveIdFromQuery(), initWizard(), ILIAS\Repository\lng(), and setSubTabs().
|
protected |
Definition at line 174 of file class.ilCourseObjectivesGUI.php.
References ilCourseObjective\_getObjectiveIds(), ILIAS\Repository\access(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by saveQuestionOverview().
|
protected |
Definition at line 334 of file class.ilCourseObjectivesGUI.php.
References ILIAS\Repository\access(), ilPropertyFormGUI\checkInput(), create(), ILIAS\Repository\ctrl(), edit(), ilSession\get(), ilPropertyFormGUI\getInput(), initFormTitle(), initObjectiveIdFromQuery(), ILIAS\Repository\lng(), and ilPropertyFormGUI\setValuesByPost().
|
protected |
Definition at line 192 of file class.ilCourseObjectivesGUI.php.
References ilCourseObjectiveQuestion\_updateTestLimits(), ILIAS\Repository\access(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), questionOverview(), ILIAS\Repository\refinery(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
|
protected |
Definition at line 836 of file class.ilCourseObjectivesGUI.php.
References $ref_id, $test_type, __initQuestionObject(), ilObject\_lookupObjId(), ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), ilLORandomTestQuestionPools\deleteForObjectiveAndTestType(), ilPropertyFormGUI\getInput(), getSettings(), initFormRandom(), initObjectiveIdFromQuery(), initTestTypeFromQuery(), ILIAS\Repository\lng(), ilLORandomTestQuestionPools\setLimit(), ilPropertyFormGUI\setValuesByPost(), showRandomTestAssignment(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
Definition at line 498 of file class.ilCourseObjectivesGUI.php.
References __initQuestionObject(), ilCourseObjectiveQuestion\_getAssignableTests(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), initObjectiveIdFromQuery(), initWizard(), isRandomTestType(), ILIAS\Repository\lng(), setSubTabs(), showRandomTestAssignment(), ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT, and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by updateMaterialAssignment(), and updateSelfAssessmentAssignment().
|
protected |
Definition at line 602 of file class.ilCourseObjectivesGUI.php.
References __initQuestionObject(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initFormLimits(), initObjectiveIdFromQuery(), initWizard(), ILIAS\Repository\lng(), and setSubTabs().
Referenced by updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
ilCourseObjectivesGUI::setSubTabs | ( | string | $a_active = "" | ) |
Definition at line 285 of file class.ilCourseObjectivesGUI.php.
References ILIAS\Repository\help().
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), and showRandomTestAssignment().
|
protected |
Definition at line 719 of file class.ilCourseObjectivesGUI.php.
References __initQuestionObject(), ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initFormRandom(), initObjectiveIdFromQuery(), initTestTypeFromQuery(), initWizard(), setSubTabs(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_UNDEFINED.
Referenced by finalTestAssignment(), saveRandom(), and selfAssessmentAssignment().
|
protected |
Definition at line 887 of file class.ilCourseObjectivesGUI.php.
References $id, __initQuestionObject(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), finalTestAssignment(), finalTestLimits(), ILIAS\FileDelivery\http(), initObjectiveIdFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\objectDataCache(), ILIAS\Repository\refinery(), and ilCourseObjectiveQuestion\TYPE_FINAL_TEST.
|
protected |
Definition at line 968 of file class.ilCourseObjectivesGUI.php.
References __initQuestionObject(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), finalTestLimits(), ilSession\get(), ILIAS\FileDelivery\http(), initObjectiveIdFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, ilLOUserResults\TYPE_QUALIFIED, and ilLOUserResults\updateResultLimit().
|
protected |
Definition at line 434 of file class.ilCourseObjectivesGUI.php.
References $ref_id, __initLMObject(), ilLMObject\_lookupType(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), finalTestAssignment(), ilSession\get(), getIntArrayFromPost(), getSettings(), getStringArrayFromPost(), initObjectiveIdFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\objectDataCache(), and selfAssessmentAssignment().
|
protected |
Definition at line 540 of file class.ilCourseObjectivesGUI.php.
References $id, __initQuestionObject(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), finalTestAssignment(), ilSession\get(), ILIAS\FileDelivery\http(), initObjectiveIdFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\objectDataCache(), ILIAS\Repository\refinery(), selfAssessmentAssignment(), selfAssessmentLimits(), and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
|
protected |
Definition at line 624 of file class.ilCourseObjectivesGUI.php.
References __initQuestionObject(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), finalTestAssignment(), ILIAS\FileDelivery\http(), initObjectiveIdFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), selfAssessmentLimits(), ILIAS\Repository\settings(), ilLOUserResults\TYPE_INITIAL, ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT, and ilLOUserResults\updateResultLimit().
|
protected |
Definition at line 64 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 50 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 44 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 57 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 56 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 53 of file class.ilCourseObjectivesGUI.php.
Referenced by initFormLimits(), initFormRandom(), and initFormTitle().
|
protected |
Definition at line 66 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 70 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 58 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 59 of file class.ilCourseObjectivesGUI.php.
|
private |
Definition at line 55 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 67 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 45 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 47 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 46 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 48 of file class.ilCourseObjectivesGUI.php.
Referenced by __initQuestionObject().
|
protected |
Definition at line 49 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 65 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 71 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 69 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 51 of file class.ilCourseObjectivesGUI.php.
Referenced by getSettings().
|
protected |
Definition at line 62 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 52 of file class.ilCourseObjectivesGUI.php.
Referenced by initFormRandom(), isRandomTestType(), and saveRandom().
|
protected |
Definition at line 63 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 60 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 61 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 68 of file class.ilCourseObjectivesGUI.php.
const ilCourseObjectivesGUI::MODE_CREATE = 1 |
Definition at line 34 of file class.ilCourseObjectivesGUI.php.
const ilCourseObjectivesGUI::MODE_UNDEFINED = 0 |
Definition at line 33 of file class.ilCourseObjectivesGUI.php.
Referenced by ilLOEditorGUI\listObjectives(), and ilLOEditorGUI\returnFromObjectives().
const ilCourseObjectivesGUI::MODE_UPDATE = 2 |
Definition at line 35 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 41 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 42 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 39 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 40 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 38 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 37 of file class.ilCourseObjectivesGUI.php.