ILIAS
Release_4_0_x_branch Revision 61816
|
class ilobjcourseobjectivesgui More...
Public Member Functions | |
ilCourseObjectivesGUI ($a_course_id) | |
& | executeCommand () |
execute command | |
askDeleteObjective () | |
deleteObjectives () | |
__initCourseObject () | |
& | __initObjectivesObject ($a_id=0) |
__initLMObject ($a_objective_id=0) | |
__initQuestionObject ($a_objective_id=0) | |
setSubTabs () | |
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 | |
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 |
class ilobjcourseobjectivesgui
Definition at line 34 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::__initCourseObject | ( | ) |
Definition at line 351 of file class.ilCourseObjectivesGUI.php.
References exit, and ilObjectFactory\getInstanceByRefId().
Referenced by ilCourseObjectivesGUI().
ilCourseObjectivesGUI::__initLMObject | ( | $a_objective_id = 0 | ) |
Definition at line 369 of file class.ilCourseObjectivesGUI.php.
Referenced by updateMaterialAssignment().
& ilCourseObjectivesGUI::__initObjectivesObject | ( | $a_id = 0 | ) |
Definition at line 364 of file class.ilCourseObjectivesGUI.php.
Referenced by askDeleteObjective(), and deleteObjectives().
ilCourseObjectivesGUI::__initQuestionObject | ( | $a_objective_id = 0 | ) |
Definition at line 377 of file class.ilCourseObjectivesGUI.php.
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), selfAssessmentAssignment(), selfAssessmentLimits(), updateFinalTestAssignment(), updateFinalTestLimits(), updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
ilCourseObjectivesGUI::askDeleteObjective | ( | ) |
Definition at line 145 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 419 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_SESSION, $tpl, __initQuestionObject(), initFormTitle(), initWizard(), and MODE_CREATE.
Referenced by save().
ilCourseObjectivesGUI::deleteObjectives | ( | ) |
Definition at line 235 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, __initObjectivesObject(), listObjectives(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
edit objective
protected
Definition at line 445 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_SESSION, $tpl, __initQuestionObject(), initFormTitle(), initWizard(), MODE_UPDATE, and ilUtil\sendFailure().
& ilCourseObjectivesGUI::executeCommand | ( | ) |
execute command
Definition at line 73 of file class.ilCourseObjectivesGUI.php.
References $cmd, and setSubTabs().
|
protected |
final test assignment
protected
@return |
Definition at line 809 of file class.ilCourseObjectivesGUI.php.
References $_GET, $ilErr, $tpl, __initQuestionObject(), ilCourseObjectiveQuestion\_getAssignableTests(), initWizard(), ilUtil\sendFailure(), and ilCourseObjectiveQuestion\TYPE_FINAL_TEST.
Referenced by updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
|
protected |
self assessment limits
protected
@return |
Definition at line 913 of file class.ilCourseObjectivesGUI.php.
References $_GET, $ilErr, $tpl, __initQuestionObject(), initFormLimits(), initWizard(), and ilUtil\sendFailure().
Referenced by updateFinalTestAssignment(), and updateFinalTestLimits().
ilCourseObjectivesGUI::ilCourseObjectivesGUI | ( | $a_course_id | ) |
Definition at line 50 of file class.ilCourseObjectivesGUI.php.
References $ilCtrl, $ilErr, $ilias, $lng, $tpl, and __initCourseObject().
|
protected |
init limit form
protected
string | mode selfAssessment or final |
Definition at line 986 of file class.ilCourseObjectivesGUI.php.
References $desc, $test, $tests, $tpl, ilObject\_lookupDescription(), ilObject\_lookupTitle(), ilUtil\getImagePath(), ilUtil\getTypeIconPath(), ilCustomInputGUI\setHtml(), and ilTextInputGUI\setValue().
Referenced by finalTestLimits(), and selfAssessmentLimits().
|
protected |
init form title
protected
Definition at line 1089 of file class.ilCourseObjectivesGUI.php.
References $desc, $title, and ilUtil\getImagePath().
Referenced by create(), and edit().
|
protected |
init wizard
protected
string | mode 'create' or 'edit' |
Definition at line 1135 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $title, $tpl, and ilUtil\getImagePath().
Referenced by create(), edit(), finalTestAssignment(), finalTestLimits(), materialAssignment(), selfAssessmentAssignment(), and selfAssessmentLimits().
|
protected |
list objectives
protected
@return |
Definition at line 98 of file class.ilCourseObjectivesGUI.php.
References $_SESSION, $ilErr, ilCourseObjective\_getObjectiveIds(), and MODE_UNDEFINED.
Referenced by askDeleteObjective(), deleteObjectives(), saveSorting(), and updateFinalTestLimits().
|
protected |
material assignment
protected
Definition at line 521 of file class.ilCourseObjectivesGUI.php.
References $_GET, $ilErr, $tpl, __initQuestionObject(), ilCourseObjectiveMaterials\_getAssignableMaterials(), initWizard(), and ilUtil\sendFailure().
|
protected |
question overiew
protected
Definition at line 270 of file class.ilCourseObjectivesGUI.php.
References $ilErr, and ilCourseObjective\_getObjectiveIds().
Referenced by saveQuestionOverview().
|
protected |
save
protected
Definition at line 477 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $ilErr, create(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
|
protected |
update question overview
protected
Definition at line 295 of file class.ilCourseObjectivesGUI.php.
References $_POST, $error, $ilErr, ilCourseObjectiveQuestion\_updateTestLimits(), questionOverview(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilCourseObjectiveQuestion\TYPE_FINAL_TEST, and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
|
protected |
save position
protected
Definition at line 124 of file class.ilCourseObjectivesGUI.php.
References $_POST, $ilErr, listObjectives(), and ilUtil\sendSuccess().
|
protected |
self assessment assignemnt
protected
Definition at line 615 of file class.ilCourseObjectivesGUI.php.
References $_GET, $ilErr, $tpl, __initQuestionObject(), ilCourseObjectiveQuestion\_getAssignableTests(), initWizard(), ilUtil\sendFailure(), and ilCourseObjectiveQuestion\TYPE_SELF_ASSESSMENT.
Referenced by updateMaterialAssignment(), and updateSelfAssessmentAssignment().
|
protected |
self assessment limits
protected
@return |
Definition at line 734 of file class.ilCourseObjectivesGUI.php.
References $_GET, $ilErr, $tpl, __initQuestionObject(), initFormLimits(), initWizard(), and ilUtil\sendFailure().
Referenced by updateSelfAssessmentAssignment(), and updateSelfAssessmentLimits().
ilCourseObjectivesGUI::setSubTabs | ( | ) |
set sub tabs
Definition at line 388 of file class.ilCourseObjectivesGUI.php.
References ilCourseObjectiveQuestion\_hasTests().
Referenced by executeCommand().
|
protected |
update self assessment assignment
protected
@return |
Definition at line 851 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 945 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $ilErr, $test, __initQuestionObject(), finalTestLimits(), listObjectives(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilCourseObjectiveQuestion\TYPE_FINAL_TEST.
|
protected |
update material assignment
protected
@return |
Definition at line 560 of file class.ilCourseObjectivesGUI.php.
References $_GET, $_POST, $ilErr, $ref_id, $type, __initLMObject(), ilLMObject\_lookupType(), selfAssessmentAssignment(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
|
protected |
update self assessment assignment
protected
@return |
Definition at line 655 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 766 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 48 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::$course_obj |
Definition at line 47 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::$ctrl |
Definition at line 41 of file class.ilCourseObjectivesGUI.php.
ilCourseObjectivesGUI::$ilErr |
Definition at line 43 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 42 of file class.ilCourseObjectivesGUI.php.
Referenced by ilCourseObjectivesGUI().
ilCourseObjectivesGUI::$lng |
Definition at line 44 of file class.ilCourseObjectivesGUI.php.
Referenced by ilCourseObjectivesGUI().
ilCourseObjectivesGUI::$tpl |
Definition at line 45 of file class.ilCourseObjectivesGUI.php.
Referenced by askDeleteObjective(), create(), edit(), finalTestAssignment(), finalTestLimits(), ilCourseObjectivesGUI(), initFormLimits(), initWizard(), materialAssignment(), selfAssessmentAssignment(), and selfAssessmentLimits().
const ilCourseObjectivesGUI::MODE_CREATE = 1 |
Definition at line 37 of file class.ilCourseObjectivesGUI.php.
Referenced by create().
const ilCourseObjectivesGUI::MODE_UNDEFINED = 0 |
Definition at line 36 of file class.ilCourseObjectivesGUI.php.
Referenced by listObjectives().
const ilCourseObjectivesGUI::MODE_UPDATE = 2 |
Definition at line 38 of file class.ilCourseObjectivesGUI.php.
Referenced by edit().