|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
class ilobjcourseobjectivesgui More...
Inheritance diagram for ilCourseObjectivesGUI:
Collaboration diagram for ilCourseObjectivesGUI:Public Member Functions | |
| __construct ($a_course_id) | |
| Constructor. More... | |
| executeCommand () | |
| execute command More... | |
| getSettings () | |
| Get settings. More... | |
| askDeleteObjective () | |
| deleteObjectives () | |
| __initCourseObject () | |
| __initObjectivesObject ($a_id=0) | |
| __initLMObject ($a_objective_id=0) | |
| __initQuestionObject ($a_objective_id=0) | |
| setSubTabs ($a_active="") | |
| set sub tabs More... | |
| create () | |
| create objective More... | |
Data Fields | |
| const | MODE_UNDEFINED = 0 |
| const | MODE_CREATE = 1 |
| const | MODE_UPDATE = 2 |
| $ctrl | |
| $ilias | |
| $ilErr | |
| $lng | |
| $tpl | |
| $course_obj | |
| $course_id | |
Protected Member Functions | |
| listObjectives () | |
| list objectives More... | |
| saveSorting () | |
| save position More... | |
| questionOverview () | |
| question overiew More... | |
| saveQuestionOverview () | |
| update question overview More... | |
| edit () | |
| edit objective More... | |
| save () | |
| save More... | |
| materialAssignment () | |
| material assignment More... | |
| updateMaterialAssignment () | |
| update material assignment More... | |
| selfAssessmentAssignment () | |
| self assessment assignemnt More... | |
| updateSelfAssessmentAssignment () | |
| update self assessment assignment More... | |
| selfAssessmentLimits () | |
| self assessment limits More... | |
| updateSelfAssessmentLimits () | |
| update self assessment limits More... | |
| finalTestAssignment () | |
| final test assignment More... | |
| isRandomTestType ($a_tst_type=0) | |
| showRandomTestAssignment (ilPropertyFormGUI $form=null) | |
| initFormRandom () | |
| show random test More... | |
| saveRandom () | |
| Save random test settings. More... | |
| updateFinalTestAssignment () | |
| update self assessment assignment More... | |
| finalSeparatedTestAssignment (ilPropertyFormGUI $form=null) | |
| Show test assignment form. More... | |
| finalTestLimits () | |
| self assessment limits More... | |
| updateFinalTestLimits () | |
| update self assessment limits More... | |
| initFormLimits ($a_mode) | |
| init limit form More... | |
| initFormTitle ($a_mode, $a_step_number) | |
| init form title More... | |
| initWizard (int $active_step) | |
| init wizard @access protected More... | |
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 |
| $settings | |
| $test_type = 0 | |
Private Attributes | |
| $logger = null | |
| $objectives_lm_obj | |
class ilobjcourseobjectivesgui
Definition at line 38 of file class.ilCourseObjectivesGUI.php.
| ilCourseObjectivesGUI::__construct | ( | $a_course_id | ) |
Constructor.
| int | $a_course_id |
Definition at line 81 of file class.ilCourseObjectivesGUI.php.
References $DIC, $GLOBALS, $ilErr, $ilias, $lng, $tpl, __initCourseObject(), ilLOSettings\getInstanceByObjId(), and settings().
Here is the call graph for this function:| ilCourseObjectivesGUI::__initCourseObject | ( | ) |
Definition at line 419 of file class.ilCourseObjectivesGUI.php.
References exit, and ilObjectFactory\getInstanceByRefId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseObjectivesGUI::__initLMObject | ( | $a_objective_id = 0 | ) |
Definition at line 433 of file class.ilCourseObjectivesGUI.php.
Referenced by updateMaterialAssignment().
Here is the caller graph for this function:| ilCourseObjectivesGUI::__initObjectivesObject | ( | $a_id = 0 | ) |
Definition at line 428 of file class.ilCourseObjectivesGUI.php.
Referenced by askDeleteObjective(), and deleteObjectives().
Here is the caller graph for this function:| ilCourseObjectivesGUI::__initQuestionObject | ( | $a_objective_id = 0 | ) |
| type | $a_objective_id |
Definition at line 447 of file class.ilCourseObjectivesGUI.php.
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), saveRandom(), selfAssessmentAssignment(), selfAssessmentLimits(), showRandomTestAssignment(), updateFinalTestAssignment(), updateFinalTestLimits(), updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
Here is the caller graph for this function:| ilCourseObjectivesGUI::askDeleteObjective | ( | ) |
Definition at line 212 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $DIC, $tpl, __initObjectivesObject(), ilUtil\getImagePath(), listObjectives(), ilUtil\sendFailure(), ilUtil\sendQuestion(), and ilUtil\switchColor().
Here is the call graph for this function:| ilCourseObjectivesGUI::create | ( | ) |
create objective
@access public
return
Definition at line 509 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_SESSION, $DIC, $GLOBALS, $tpl, __initQuestionObject(), initFormTitle(), initWizard(), MODE_CREATE, and setSubTabs().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseObjectivesGUI::deleteObjectives | ( | ) |
Definition at line 303 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $DIC, __initObjectivesObject(), listObjectives(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
edit objective
@access protected
Definition at line 539 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $DIC, $GLOBALS, $tpl, __initQuestionObject(), initFormTitle(), initWizard(), MODE_UPDATE, ilUtil\sendFailure(), and setSubTabs().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseObjectivesGUI::executeCommand | ( | ) |
execute command
Definition at line 117 of file class.ilCourseObjectivesGUI.php.
References $DIC.
|
protected |
Show test assignment form.
| ilPropertyFormGUI | $form |
Definition at line 1277 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $GLOBALS, $ilErr, initWizard(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
final test assignment
@access protected
return
Definition at line 956 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $GLOBALS, $ilErr, $tpl, __initQuestionObject(), ilCourseObjectiveQuestion\_getAssignableTests(), initWizard(), isRandomTestType(), ilUtil\sendFailure(), setSubTabs(), showRandomTestAssignment(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by updateMaterialAssignment(), and updateSelfAssessmentAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
self assessment limits
@access protected
return
Definition at line 1306 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $GLOBALS, $ilErr, $tpl, __initQuestionObject(), initFormLimits(), initWizard(), ilUtil\sendFailure(), and setSubTabs().
Referenced by updateFinalTestAssignment(), and updateFinalTestLimits().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseObjectivesGUI::getSettings | ( | ) |
Get settings.
Definition at line 140 of file class.ilCourseObjectivesGUI.php.
References $settings.
Referenced by initWizard(), isRandomTestType(), saveRandom(), and updateMaterialAssignment().
Here is the caller graph for this function:
|
protected |
init limit form
@access protected
| string | mode selfAssessment or final |
Definition at line 1386 of file class.ilCourseObjectivesGUI.php.
References $GLOBALS, XapiProxy\$req, $test, $tpl, ilObject\_lookupDescription(), ilObject\_lookupTitle(), and ilUtil\getTypeIconPath().
Referenced by finalTestLimits(), and selfAssessmentLimits().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
show random test
Definition at line 1046 of file class.ilCourseObjectivesGUI.php.
References ilObject\_lookupObjId(), ilLORandomTestQuestionPools\lookupLimit(), ilLORandomTestQuestionPools\lookupSequencesByType(), and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by saveRandom(), and showRandomTestAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
init form title
@access protected
Definition at line 1481 of file class.ilCourseObjectivesGUI.php.
Referenced by create(), edit(), and save().
Here is the caller graph for this function:
|
protected |
init wizard @access protected
| int | $a_step_number |
Definition at line 1526 of file class.ilCourseObjectivesGUI.php.
References $DIC, $steps, getSettings(), isRandomTestType(), STEP_FINAL_TEST_ASSIGNMENT, STEP_FINAL_TEST_LIMIT, STEP_INITIAL_TEST_ASSIGNMENT, STEP_INITIAL_TEST_LIMIT, STEP_MATERIAL_ASSIGNMENT, STEP_SETTINGS, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by create(), edit(), finalSeparatedTestAssignment(), finalTestAssignment(), finalTestLimits(), materialAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), and showRandomTestAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 1006 of file class.ilCourseObjectivesGUI.php.
References $test_type, ilObject\_lookupObjId(), ilObjTest\_lookupRandomTest(), and getSettings().
Referenced by finalTestAssignment(), initWizard(), and selfAssessmentAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
list objectives
@access protected
return
Definition at line 154 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $DIC, $ilErr, ilCourseObjective\_getObjectiveIds(), and MODE_UNDEFINED.
Referenced by askDeleteObjective(), deleteObjectives(), and saveSorting().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
material assignment
@access protected
Definition at line 627 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $GLOBALS, $ilErr, $tpl, __initQuestionObject(), ilCourseObjectiveMaterials\_getAssignableMaterials(), initWizard(), ilUtil\sendFailure(), and setSubTabs().
Here is the call graph for this function:
|
protected |
question overiew
@access protected
Definition at line 337 of file class.ilCourseObjectivesGUI.php.
References $DIC, $ilErr, and ilCourseObjective\_getObjectiveIds().
Referenced by saveQuestionOverview().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
save
@access protected
Definition at line 574 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_SESSION, $DIC, $ilErr, create(), edit(), and initFormTitle().
Here is the call graph for this function:
|
protected |
update question overview
@access protected
Definition at line 367 of file class.ilCourseObjectivesGUI.php.
References $_POST, $DIC, $ilErr, ilCourseObjectiveQuestion\_updateTestLimits(), questionOverview(), ilUtil\sendFailure(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
Here is the call graph for this function:
|
protected |
Save random test settings.
Definition at line 1160 of file class.ilCourseObjectivesGUI.php.
References $_GET, __initQuestionObject(), ilObject\_lookupObjId(), ilLORandomTestQuestionPools\deleteForObjectiveAndTestType(), getSettings(), initFormRandom(), ilUtil\sendFailure(), showRandomTestAssignment(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Here is the call graph for this function:
|
protected |
save position
@access protected
Definition at line 189 of file class.ilCourseObjectivesGUI.php.
References $_POST, $DIC, $ilErr, and listObjectives().
Here is the call graph for this function:
|
protected |
self assessment assignemnt
@access protected
Definition at line 747 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $GLOBALS, $ilErr, $tpl, __initQuestionObject(), ilCourseObjectiveQuestion\_getAssignableTests(), initWizard(), isRandomTestType(), ilUtil\sendFailure(), setSubTabs(), showRandomTestAssignment(), ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT, and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by updateMaterialAssignment(), and updateSelfAssessmentAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
self assessment limits
@access protected
return
Definition at line 877 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $GLOBALS, $ilErr, $tpl, __initQuestionObject(), initFormLimits(), initWizard(), ilUtil\sendFailure(), and setSubTabs().
Referenced by updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCourseObjectivesGUI::setSubTabs | ( | $a_active = "" | ) |
set sub tabs
Definition at line 459 of file class.ilCourseObjectivesGUI.php.
References $DIC, and ilCourseObjectiveQuestion\_hasTests().
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), and showRandomTestAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilPropertyFormGUI | $form |
Definition at line 1024 of file class.ilCourseObjectivesGUI.php.
References $_GET, $GLOBALS, __initQuestionObject(), initFormRandom(), initWizard(), and setSubTabs().
Referenced by finalTestAssignment(), saveRandom(), and selfAssessmentAssignment().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
update self assessment assignment
@access protected
return
Definition at line 1219 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $DIC, $ilErr, __initQuestionObject(), finalTestLimits(), ilUtil\sendFailure(), and ilCourseObjectiveQuestion\TYPE_FINAL_TEST.
Here is the call graph for this function:
|
protected |
update self assessment limits
@access protected
return
Definition at line 1341 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $DIC, $ilErr, $test, __initQuestionObject(), finalTestLimits(), ilUtil\sendFailure(), and ilCourseObjectiveQuestion\TYPE_FINAL_TEST.
Here is the call graph for this function:
|
protected |
update material assignment
@access protected
return
Definition at line 672 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $DIC, $ilErr, __initLMObject(), ilLMObject\_lookupType(), finalTestAssignment(), getSettings(), selfAssessmentAssignment(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
update self assessment assignment
@access protected
return
Definition at line 803 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $DIC, $ilErr, __initQuestionObject(), finalTestAssignment(), MODE_CREATE, MODE_UPDATE, selfAssessmentAssignment(), selfAssessmentLimits(), ilUtil\sendFailure(), and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
Here is the call graph for this function:
|
protected |
update self assessment limits
@access protected
return
Definition at line 914 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $DIC, $ilErr, $test, __initQuestionObject(), selfAssessmentLimits(), ilUtil\sendFailure(), and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
Here is the call graph for this function:| ilCourseObjectivesGUI::$course_id |
Definition at line 60 of file class.ilCourseObjectivesGUI.php.
| ilCourseObjectivesGUI::$course_obj |
Definition at line 59 of file class.ilCourseObjectivesGUI.php.
| ilCourseObjectivesGUI::$ctrl |
Definition at line 53 of file class.ilCourseObjectivesGUI.php.
| ilCourseObjectivesGUI::$ilErr |
Definition at line 55 of file class.ilCourseObjectivesGUI.php.
Referenced by __construct(), finalSeparatedTestAssignment(), finalTestAssignment(), finalTestLimits(), listObjectives(), materialAssignment(), questionOverview(), save(), saveQuestionOverview(), saveSorting(), selfAssessmentAssignment(), selfAssessmentLimits(), updateFinalTestAssignment(), updateFinalTestLimits(), updateMaterialAssignment(), updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
| ilCourseObjectivesGUI::$ilias |
Definition at line 54 of file class.ilCourseObjectivesGUI.php.
Referenced by __construct().
| ilCourseObjectivesGUI::$lng |
Definition at line 56 of file class.ilCourseObjectivesGUI.php.
Referenced by __construct().
|
private |
Definition at line 70 of file class.ilCourseObjectivesGUI.php.
|
private |
Definition at line 75 of file class.ilCourseObjectivesGUI.php.
|
protected |
Definition at line 63 of file class.ilCourseObjectivesGUI.php.
Referenced by getSettings().
|
protected |
Definition at line 64 of file class.ilCourseObjectivesGUI.php.
Referenced by isRandomTestType().
| ilCourseObjectivesGUI::$tpl |
Definition at line 57 of file class.ilCourseObjectivesGUI.php.
Referenced by __construct(), askDeleteObjective(), create(), edit(), finalTestAssignment(), finalTestLimits(), initFormLimits(), materialAssignment(), selfAssessmentAssignment(), and selfAssessmentLimits().
| const ilCourseObjectivesGUI::MODE_CREATE = 1 |
Definition at line 41 of file class.ilCourseObjectivesGUI.php.
Referenced by create(), and updateSelfAssessmentAssignment().
| const ilCourseObjectivesGUI::MODE_UNDEFINED = 0 |
Definition at line 40 of file class.ilCourseObjectivesGUI.php.
Referenced by listObjectives(), ilLOEditorGUI\listObjectives(), and ilLOEditorGUI\returnFromObjectives().
| const ilCourseObjectivesGUI::MODE_UPDATE = 2 |
Definition at line 42 of file class.ilCourseObjectivesGUI.php.
Referenced by edit(), and updateSelfAssessmentAssignment().
|
protected |
Definition at line 48 of file class.ilCourseObjectivesGUI.php.
Referenced by initWizard().
|
protected |
Definition at line 49 of file class.ilCourseObjectivesGUI.php.
Referenced by initWizard().
|
protected |
Definition at line 46 of file class.ilCourseObjectivesGUI.php.
Referenced by initWizard().
|
protected |
Definition at line 47 of file class.ilCourseObjectivesGUI.php.
Referenced by initWizard().
|
protected |
Definition at line 45 of file class.ilCourseObjectivesGUI.php.
Referenced by initWizard().
|
protected |
Definition at line 44 of file class.ilCourseObjectivesGUI.php.
Referenced by initWizard().