ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
class ilobjcourseobjectivesgui More...
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 ($a_step_number) | |
init wizard More... | |
Protected Attributes | |
$settings | |
$test_type = 0 | |
Private Attributes | |
$logger = null | |
class ilobjcourseobjectivesgui
Definition at line 36 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::__construct | ( | $a_course_id | ) |
Constructor.
int | $a_course_id |
Definition at line 66 of file class.ilCourseObjectivesGUI.php.
References $DIC, $GLOBALS, $ilCtrl, $ilErr, $ilias, $lng, $tpl, $tree, __initCourseObject(), ilLOSettings\getInstanceByObjId(), and settings().
ilCourseObjectivesGUI::__initCourseObject | ( | ) |
Definition at line 404 of file class.ilCourseObjectivesGUI.php.
References exit, and ilObjectFactory\getInstanceByRefId().
Referenced by __construct().
ilCourseObjectivesGUI::__initLMObject | ( | $a_objective_id = 0 | ) |
Definition at line 418 of file class.ilCourseObjectivesGUI.php.
Referenced by updateMaterialAssignment().
ilCourseObjectivesGUI::__initObjectivesObject | ( | $a_id = 0 | ) |
Definition at line 413 of file class.ilCourseObjectivesGUI.php.
Referenced by askDeleteObjective(), and deleteObjectives().
ilCourseObjectivesGUI::__initQuestionObject | ( | $a_objective_id = 0 | ) |
type | $a_objective_id |
Definition at line 432 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 197 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $DIC, $tbl, $tpl, __initObjectivesObject(), ilUtil\getImagePath(), listObjectives(), ilUtil\sendFailure(), ilUtil\sendQuestion(), and ilUtil\switchColor().
ilCourseObjectivesGUI::create | ( | ) |
create objective
public
Definition at line 494 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_SESSION, $DIC, $GLOBALS, $tpl, __initQuestionObject(), initFormTitle(), initWizard(), and setSubTabs().
Referenced by save().
ilCourseObjectivesGUI::deleteObjectives | ( | ) |
Definition at line 288 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $DIC, __initObjectivesObject(), listObjectives(), and ilUtil\sendFailure().
|
protected |
edit objective
protected
Definition at line 524 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $DIC, $GLOBALS, $tpl, __initQuestionObject(), initFormTitle(), initWizard(), ilUtil\sendFailure(), and setSubTabs().
Referenced by save().
ilCourseObjectivesGUI::executeCommand | ( | ) |
|
protected |
Show test assignment form.
ilPropertyFormGUI | $form |
Definition at line 1261 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $form, $GLOBALS, $ilErr, initWizard(), and ilUtil\sendFailure().
|
protected |
final test assignment
protected
Definition at line 935 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $GLOBALS, $ilErr, $table, $tpl, __initQuestionObject(), ilCourseObjectiveQuestion\_getAssignableTests(), initWizard(), isRandomTestType(), ilUtil\sendFailure(), setSubTabs(), showRandomTestAssignment(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by updateMaterialAssignment(), and updateSelfAssessmentAssignment().
|
protected |
self assessment limits
protected
Definition at line 1290 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $GLOBALS, $ilErr, $tpl, __initQuestionObject(), initFormLimits(), initWizard(), ilUtil\sendFailure(), and setSubTabs().
Referenced by updateFinalTestAssignment(), and updateFinalTestLimits().
ilCourseObjectivesGUI::getSettings | ( | ) |
Get settings.
Definition at line 125 of file class.ilCourseObjectivesGUI.php.
References $settings.
Referenced by initFormRandom(), initWizard(), isRandomTestType(), saveRandom(), and updateMaterialAssignment().
|
protected |
init limit form
protected
string | mode selfAssessment or final |
Definition at line 1373 of file class.ilCourseObjectivesGUI.php.
References $GLOBALS, $req, $test, $tests, $tpl, ilObject\_lookupDescription(), ilObject\_lookupTitle(), ilUtil\getTypeIconPath(), and ilCustomInputGUI\setHtml().
Referenced by finalTestLimits(), and selfAssessmentLimits().
|
protected |
show random test
Definition at line 1030 of file class.ilCourseObjectivesGUI.php.
References $form, $GLOBALS, $list, PHPMailer\PHPMailer\$options, $title, ilObject\_lookupObjId(), ilObjectFactory\getInstanceByRefId(), getSettings(), ilLORandomTestQuestionPools\lookupLimit(), ilLORandomTestQuestionPools\lookupSequencesByType(), ilFormPropertyGUI\setRequired(), ilNumberInputGUI\setValue(), and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by saveRandom(), and showRandomTestAssignment().
|
protected |
init form title
protected
Definition at line 1470 of file class.ilCourseObjectivesGUI.php.
References $title, and ilTextAreaInputGUI\setValue().
Referenced by create(), edit(), and save().
|
protected |
init wizard
protected
string | mode 'create' or 'edit' |
Definition at line 1516 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $GLOBALS, $info, $links, PHPMailer\PHPMailer\$options, $step, $title, getSettings(), isRandomTestType(), ilChecklistGUI\STATUS_NO_STATUS, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by create(), edit(), finalSeparatedTestAssignment(), finalTestAssignment(), finalTestLimits(), materialAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), and showRandomTestAssignment().
|
protected |
Definition at line 987 of file class.ilCourseObjectivesGUI.php.
References $test_type, ilObject\_lookupObjId(), ilObjTest\_lookupRandomTest(), and getSettings().
Referenced by finalTestAssignment(), initWizard(), and selfAssessmentAssignment().
|
protected |
list objectives
protected
Definition at line 139 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $DIC, $ilErr, $table, and ilCourseObjective\_getObjectiveIds().
Referenced by askDeleteObjective(), deleteObjectives(), and saveSorting().
|
protected |
material assignment
protected
Definition at line 612 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $GLOBALS, $ilErr, $table, $tpl, __initQuestionObject(), ilCourseObjectiveMaterials\_getAssignableMaterials(), initWizard(), ilUtil\sendFailure(), and setSubTabs().
|
protected |
question overiew
protected
Definition at line 322 of file class.ilCourseObjectivesGUI.php.
References $DIC, $ilErr, $table, and ilCourseObjective\_getObjectiveIds().
Referenced by saveQuestionOverview().
|
protected |
save
protected
Definition at line 559 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_SESSION, $DIC, $ilErr, create(), edit(), and initFormTitle().
|
protected |
update question overview
protected
Definition at line 352 of file class.ilCourseObjectivesGUI.php.
References $_POST, $DIC, $ilErr, ilCourseObjectiveQuestion\_updateTestLimits(), questionOverview(), ilUtil\sendFailure(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
|
protected |
Save random test settings.
Definition at line 1144 of file class.ilCourseObjectivesGUI.php.
References $_GET, $form, __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.
|
protected |
save position
protected
Definition at line 174 of file class.ilCourseObjectivesGUI.php.
References $_POST, $DIC, $ilErr, and listObjectives().
|
protected |
self assessment assignemnt
protected
Definition at line 724 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $GLOBALS, $ilErr, $table, $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
Definition at line 856 of file class.ilCourseObjectivesGUI.php.
References $_GET, $DIC, $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 444 of file class.ilCourseObjectivesGUI.php.
References $DIC, and ilCourseObjectiveQuestion\_hasTests().
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), and showRandomTestAssignment().
|
protected |
ilPropertyFormGUI | $form |
Definition at line 1005 of file class.ilCourseObjectivesGUI.php.
References $_GET, $form, $GLOBALS, __initQuestionObject(), initFormRandom(), initWizard(), and setSubTabs().
Referenced by finalTestAssignment(), saveRandom(), and selfAssessmentAssignment().
|
protected |
update self assessment assignment
protected
Definition at line 1203 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $DIC, $id, $ilErr, __initQuestionObject(), finalTestLimits(), ilUtil\sendFailure(), and ilCourseObjectiveQuestion\TYPE_FINAL_TEST.
|
protected |
update self assessment limits
protected
Definition at line 1328 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $DIC, $ilErr, $test, __initQuestionObject(), finalTestLimits(), ilUtil\sendFailure(), and ilCourseObjectiveQuestion\TYPE_FINAL_TEST.
|
protected |
update material assignment
protected
Definition at line 659 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $DIC, $ilErr, $type, __initLMObject(), ilLMObject\_lookupType(), finalTestAssignment(), getSettings(), selfAssessmentAssignment(), and ilUtil\sendFailure().
|
protected |
update self assessment assignment
protected
Definition at line 782 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $_SESSION, $DIC, $id, $ilErr, __initQuestionObject(), finalTestAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), ilUtil\sendFailure(), and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
|
protected |
update self assessment limits
protected
Definition at line 893 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $DIC, $ilErr, $test, __initQuestionObject(), selfAssessmentLimits(), ilUtil\sendFailure(), 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 __construct(), finalSeparatedTestAssignment(), finalTestAssignment(), finalTestLimits(), 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 __construct().
ilCourseObjectivesGUI::$lng |
Definition at line 46 of file class.ilCourseObjectivesGUI.php.
Referenced by __construct().
|
private |
Definition at line 60 of file class.ilCourseObjectivesGUI.php.
|
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 __construct(), askDeleteObjective(), create(), edit(), finalTestAssignment(), finalTestLimits(), initFormLimits(), materialAssignment(), selfAssessmentAssignment(), and selfAssessmentLimits().
const ilCourseObjectivesGUI::MODE_CREATE = 1 |
Definition at line 39 of file class.ilCourseObjectivesGUI.php.
const ilCourseObjectivesGUI::MODE_UNDEFINED = 0 |
Definition at line 38 of file class.ilCourseObjectivesGUI.php.
Referenced by ilLOEditorGUI\listObjectives(), and ilLOEditorGUI\returnFromObjectives().
const ilCourseObjectivesGUI::MODE_UPDATE = 2 |
Definition at line 40 of file class.ilCourseObjectivesGUI.php.