ILIAS
Release_5_0_x_branch Revision 61816
|
class ilobjcourseobjectivesgui More...
Public Member Functions | |
ilCourseObjectivesGUI ($a_course_id) | |
& | executeCommand () |
execute command | |
getSettings () | |
Get settings. | |
askDeleteObjective () | |
deleteObjectives () | |
__initCourseObject () | |
__initObjectivesObject ($a_id=0) | |
__initLMObject ($a_objective_id=0) | |
__initQuestionObject ($a_objective_id=0) | |
setSubTabs ($a_active="") | |
set sub tabs | |
create () | |
create objective |
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 | |
saveSorting () | |
save position | |
questionOverview () | |
question overiew | |
saveQuestionOverview () | |
update question overview | |
edit () | |
edit objective | |
save () | |
save | |
materialAssignment () | |
material assignment | |
updateMaterialAssignment () | |
update material assignment | |
selfAssessmentAssignment () | |
self assessment assignemnt | |
updateSelfAssessmentAssignment () | |
update self assessment assignment | |
selfAssessmentLimits () | |
self assessment limits | |
updateSelfAssessmentLimits () | |
update self assessment limits | |
finalTestAssignment () | |
final test assignment | |
isRandomTestType ($a_tst_type=0) | |
showRandomTestAssignment (ilPropertyFormGUI $form=null) | |
initFormRandom () | |
show random test | |
getRandomTestQplOptions () | |
saveRandom () | |
Save random test settings. | |
updateFinalTestAssignment () | |
update self assessment assignment | |
finalTestLimits () | |
self assessment limits | |
updateFinalTestLimits () | |
update self assessment limits | |
initFormLimits ($a_mode) | |
init limit form | |
initFormTitle ($a_mode, $a_step_number) | |
init form title | |
initWizard ($a_step_number) | |
init wizard |
Protected Attributes | |
$settings | |
$test_type = 0 |
class ilobjcourseobjectivesgui
Definition at line 36 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::__initCourseObject | ( | ) |
Definition at line 379 of file class.ilCourseObjectivesGUI.php.
References exit, and ilObjectFactory\getInstanceByRefId().
Referenced by ilCourseObjectivesGUI().
ilCourseObjectivesGUI::__initLMObject | ( | $a_objective_id = 0 | ) |
Definition at line 394 of file class.ilCourseObjectivesGUI.php.
Referenced by updateMaterialAssignment().
ilCourseObjectivesGUI::__initObjectivesObject | ( | $a_id = 0 | ) |
Definition at line 389 of file class.ilCourseObjectivesGUI.php.
Referenced by askDeleteObjective(), and deleteObjectives().
ilCourseObjectivesGUI::__initQuestionObject | ( | $a_objective_id = 0 | ) |
type | $a_objective_id |
Definition at line 408 of file class.ilCourseObjectivesGUI.php.
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), saveRandom(), selfAssessmentAssignment(), selfAssessmentLimits(), showRandomTestAssignment(), updateFinalTestAssignment(), updateFinalTestLimits(), updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
ilCourseObjectivesGUI::askDeleteObjective | ( | ) |
Definition at line 171 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $tpl, __initObjectivesObject(), ilUtil\getImagePath(), listObjectives(), ilUtil\sendFailure(), ilUtil\sendQuestion(), and ilUtil\switchColor().
ilCourseObjectivesGUI::create | ( | ) |
create objective
public
@return |
Definition at line 465 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_SESSION, $GLOBALS, $tpl, __initQuestionObject(), initFormTitle(), initWizard(), MODE_CREATE, and setSubTabs().
ilCourseObjectivesGUI::deleteObjectives | ( | ) |
Definition at line 261 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, __initObjectivesObject(), listObjectives(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
edit objective
protected
Definition at line 494 of file class.ilCourseObjectivesGUI.php.
References $_REQUEST, $_SESSION, $GLOBALS, $tpl, __initQuestionObject(), initFormTitle(), initWizard(), MODE_UPDATE, ilUtil\sendFailure(), and setSubTabs().
Referenced by save().
& ilCourseObjectivesGUI::executeCommand | ( | ) |
|
protected |
final test assignment
protected
@return |
Definition at line 905 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_REQUEST, $GLOBALS, $ilErr, $tpl, __initQuestionObject(), ilCourseObjectiveQuestion\_getAssignableTests(), initWizard(), isRandomTestType(), ilUtil\sendFailure(), setSubTabs(), showRandomTestAssignment(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by updateMaterialAssignment(), updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
|
protected |
self assessment limits
protected
@return |
Definition at line 1222 of file class.ilCourseObjectivesGUI.php.
References $_GET, $GLOBALS, $ilErr, $tpl, __initQuestionObject(), initFormLimits(), initWizard(), ilUtil\sendFailure(), and setSubTabs().
Referenced by updateFinalTestAssignment(), and updateFinalTestLimits().
|
protected |
Definition at line 1053 of file class.ilCourseObjectivesGUI.php.
References $GLOBALS, $options, ilObjectFactory\getInstanceByRefId(), and getSettings().
Referenced by initFormRandom().
ilCourseObjectivesGUI::getSettings | ( | ) |
Get settings.
Definition at line 107 of file class.ilCourseObjectivesGUI.php.
References $settings.
Referenced by getRandomTestQplOptions(), initWizard(), isRandomTestType(), saveRandom(), and updateMaterialAssignment().
ilCourseObjectivesGUI::ilCourseObjectivesGUI | ( | $a_course_id | ) |
Definition at line 57 of file class.ilCourseObjectivesGUI.php.
References $ilCtrl, $ilErr, $ilias, $lng, $tpl, __initCourseObject(), and ilLOSettings\getInstanceByObjId().
|
protected |
init limit form
protected
string | mode selfAssessment or final |
Definition at line 1306 of file class.ilCourseObjectivesGUI.php.
References $GLOBALS, $test, $tests, $tpl, ilObject\_lookupDescription(), ilObject\_lookupTitle(), ilUtil\getTypeIconPath(), ilCustomInputGUI\setHtml(), and ilNumberInputGUI\setValue().
Referenced by finalTestLimits(), and selfAssessmentLimits().
|
protected |
show random test
Definition at line 997 of file class.ilCourseObjectivesGUI.php.
References $_REQUEST, $options, getRandomTestQplOptions(), ilSelectInputGUI\setOptions(), ilNumberInputGUI\setValue(), and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by saveRandom(), and showRandomTestAssignment().
|
protected |
init form title
protected
Definition at line 1410 of file class.ilCourseObjectivesGUI.php.
References ilTextInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by create(), edit(), and save().
|
protected |
init wizard
protected
string | mode 'create' or 'edit' |
Definition at line 1459 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $GLOBALS, $options, getSettings(), isRandomTestType(), ilChecklistGUI\STATUS_NO_STATUS, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), and showRandomTestAssignment().
|
protected |
Definition at line 951 of file class.ilCourseObjectivesGUI.php.
References $test_type, ilObject\_lookupObjId(), ilObjTest\_lookupRandomTest(), and getSettings().
Referenced by finalTestAssignment(), initWizard(), and selfAssessmentAssignment().
|
protected |
list objectives
protected
@return |
Definition at line 121 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $ilErr, ilCourseObjective\_getObjectiveIds(), and MODE_UNDEFINED.
Referenced by askDeleteObjective(), deleteObjectives(), and saveSorting().
|
protected |
material assignment
protected
Definition at line 582 of file class.ilCourseObjectivesGUI.php.
References $_GET, $GLOBALS, $ilErr, $tpl, __initQuestionObject(), ilCourseObjectiveMaterials\_getAssignableMaterials(), initWizard(), ilUtil\sendFailure(), and setSubTabs().
|
protected |
question overiew
protected
Definition at line 296 of file class.ilCourseObjectivesGUI.php.
References $ilErr, and ilCourseObjective\_getObjectiveIds().
Referenced by saveQuestionOverview().
|
protected |
save
protected
Definition at line 529 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_REQUEST, $_SESSION, $ilErr, edit(), initFormTitle(), and ilUtil\sendSuccess().
|
protected |
update question overview
protected
Definition at line 323 of file class.ilCourseObjectivesGUI.php.
References $_POST, $ilErr, ilCourseObjectiveQuestion\_updateTestLimits(), questionOverview(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
|
protected |
Save random test settings.
Definition at line 1104 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_REQUEST, $ref_id, __initQuestionObject(), ilObject\_lookupObjId(), getSettings(), initFormRandom(), ilUtil\sendFailure(), ilUtil\sendSuccess(), showRandomTestAssignment(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
save position
protected
Definition at line 150 of file class.ilCourseObjectivesGUI.php.
References $_POST, $ilErr, listObjectives(), and ilUtil\sendSuccess().
|
protected |
self assessment assignemnt
protected
Definition at line 695 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_REQUEST, $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().
|
protected |
self assessment limits
protected
@return |
Definition at line 827 of file class.ilCourseObjectivesGUI.php.
References $_GET, $GLOBALS, $ilErr, $tpl, __initQuestionObject(), initFormLimits(), initWizard(), ilUtil\sendFailure(), and setSubTabs().
Referenced by updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
ilCourseObjectivesGUI::setSubTabs | ( | $a_active = "" | ) |
set sub tabs
Definition at line 420 of file class.ilCourseObjectivesGUI.php.
References ilCourseObjectiveQuestion\_hasTests().
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), and showRandomTestAssignment().
|
protected |
ilPropertyFormGUI | $form |
Definition at line 971 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_REQUEST, $GLOBALS, __initQuestionObject(), initFormRandom(), initWizard(), and setSubTabs().
Referenced by finalTestAssignment(), saveRandom(), and selfAssessmentAssignment().
|
protected |
update self assessment assignment
protected
@return |
Definition at line 1159 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $ilErr, __initQuestionObject(), finalTestLimits(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilCourseObjectiveQuestion\TYPE_FINAL_TEST.
|
protected |
update self assessment limits
protected
@return |
Definition at line 1258 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $ilErr, $test, __initQuestionObject(), finalTestLimits(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilCourseObjectiveQuestion\TYPE_FINAL_TEST.
|
protected |
update material assignment
protected
@return |
Definition at line 624 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $ilErr, $ref_id, __initLMObject(), ilLMObject\_lookupType(), finalTestAssignment(), getSettings(), selfAssessmentAssignment(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
update self assessment assignment
protected
@return |
Definition at line 747 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $ilErr, __initQuestionObject(), finalTestAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
|
protected |
update self assessment limits
protected
@return |
Definition at line 862 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $ilErr, $test, __initQuestionObject(), finalTestAssignment(), selfAssessmentLimits(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
ilCourseObjectivesGUI::$course_id |
Definition at line 50 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::$course_obj |
Definition at line 49 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::$ctrl |
Definition at line 43 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::$ilErr |
Definition at line 45 of file class.ilCourseObjectivesGUI.php.
Referenced by finalTestAssignment(), finalTestLimits(), ilCourseObjectivesGUI(), listObjectives(), materialAssignment(), questionOverview(), save(), saveQuestionOverview(), saveSorting(), selfAssessmentAssignment(), selfAssessmentLimits(), updateFinalTestAssignment(), updateFinalTestLimits(), updateMaterialAssignment(), updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
ilCourseObjectivesGUI::$ilias |
Definition at line 44 of file class.ilCourseObjectivesGUI.php.
Referenced by ilCourseObjectivesGUI().
ilCourseObjectivesGUI::$lng |
Definition at line 46 of file class.ilCourseObjectivesGUI.php.
Referenced by ilCourseObjectivesGUI().
|
protected |
Definition at line 53 of file class.ilCourseObjectivesGUI.php.
Referenced by getSettings().
|
protected |
Definition at line 54 of file class.ilCourseObjectivesGUI.php.
Referenced by isRandomTestType().
ilCourseObjectivesGUI::$tpl |
Definition at line 47 of file class.ilCourseObjectivesGUI.php.
Referenced by askDeleteObjective(), create(), edit(), finalTestAssignment(), finalTestLimits(), ilCourseObjectivesGUI(), initFormLimits(), materialAssignment(), selfAssessmentAssignment(), and selfAssessmentLimits().
const ilCourseObjectivesGUI::MODE_CREATE = 1 |
Definition at line 39 of file class.ilCourseObjectivesGUI.php.
Referenced by create().
const ilCourseObjectivesGUI::MODE_UNDEFINED = 0 |
Definition at line 38 of file class.ilCourseObjectivesGUI.php.
Referenced by listObjectives().
const ilCourseObjectivesGUI::MODE_UPDATE = 2 |
Definition at line 40 of file class.ilCourseObjectivesGUI.php.
Referenced by edit().