ILIAS
Release_5_0_x_branch Revision 61816
|
Presentation of the status of single steps during the configuration process. More...
Public Member Functions | |
__construct (ilObject $a_parent) | |
Constructor. | |
getObjectives () | |
setSection ($a_section) | |
Set current section. | |
getSection () | |
getFailures ($a_section) | |
Get failures by section. | |
setCmdClass ($a_cmd_class) | |
Command class. | |
getCmdClass () | |
Get cmd class. | |
getParentObject () | |
Get parent object. | |
getSettings () | |
getFirstFailedStep () | |
Get first failed step. | |
getHTML () | |
Get html. | |
getErrorMessages ($a_section) | |
Get error messages. |
Static Public Member Functions | |
static | getInstance (ilObject $a_parent) |
Get instance. |
Data Fields | |
const | SECTION_SETTINGS = 1 |
const | SECTION_MATERIALS = 2 |
const | SECTION_ITES = 3 |
const | SECTION_QTEST = 4 |
const | SECTION_OBJECTIVES = 5 |
const | SECTION_OBJECTIVES_NEW = 6 |
Protected Member Functions | |
appendFailure ($a_section, $a_failure_msg_key) | |
Append failure. | |
getSettingsStatus () | |
Check if course is lo confgured. | |
getObjectivesAvailableStatus () | |
Get objectives. | |
getMaterialsStatus ($a_set_errors=true) | |
Get status of materials. | |
getInitialTestStatus ($a_set_errors=true) | |
getQualifiedTestStatus ($a_set_errors=true) | |
lookupQuestionsAssigned ($a_test_ref_id) | |
Check if questions are assigned. | |
getObjectivesStatus ($a_set_errors=true) | |
getStartStatus () | |
checkNumberOfTries () |
Protected Attributes | |
$section = NULL | |
$failures_by_section = array() | |
$objectives = array() | |
$settings = NULL | |
$parent_obj = NULL | |
$cmd_class = NULL | |
$html = '' | |
$tpl = NULL | |
$ctrl = NULL | |
$lng = NULL |
Static Protected Attributes | |
static | $instance = NULL |
Presentation of the status of single steps during the configuration process.
Definition at line 10 of file class.ilLOEditorStatus.php.
ilLOEditorStatus::__construct | ( | ilObject | $a_parent | ) |
Constructor.
ilObject |
Definition at line 41 of file class.ilLOEditorStatus.php.
References $GLOBALS, ilCourseObjective\_getObjectiveIds(), ilLOSettings\getInstanceByObjId(), and getParentObject().
|
protected |
Append failure.
type | $a_section | |
type | $a_failure_msg_key |
Definition at line 99 of file class.ilLOEditorStatus.php.
Referenced by getInitialTestStatus(), getMaterialsStatus(), getObjectivesStatus(), and getQualifiedTestStatus().
|
protected |
Definition at line 487 of file class.ilLOEditorStatus.php.
References $GLOBALS, getObjectives(), getSettings(), and ilCourseObjective\lookupMaxPasses().
Referenced by getObjectivesStatus().
ilLOEditorStatus::getCmdClass | ( | ) |
Get cmd class.
Definition at line 117 of file class.ilLOEditorStatus.php.
References $cmd_class.
Referenced by getHTML().
ilLOEditorStatus::getErrorMessages | ( | $a_section | ) |
Get error messages.
@return |
Definition at line 290 of file class.ilLOEditorStatus.php.
References getFailures().
Referenced by getHTML().
ilLOEditorStatus::getFailures | ( | $a_section | ) |
Get failures by section.
type | $a_section |
Definition at line 89 of file class.ilLOEditorStatus.php.
Referenced by getErrorMessages().
ilLOEditorStatus::getFirstFailedStep | ( | ) |
Get first failed step.
Definition at line 143 of file class.ilLOEditorStatus.php.
References $_REQUEST, getInitialTestStatus(), getObjectivesAvailableStatus(), getObjectivesStatus(), getQualifiedTestStatus(), getSettings(), getSettingsStatus(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
ilLOEditorStatus::getHTML | ( | ) |
Get html.
Definition at line 181 of file class.ilLOEditorStatus.php.
References $_GET, getCmdClass(), getErrorMessages(), getInitialTestStatus(), ilLOSettings\getInstanceByObjId(), getMaterialsStatus(), getObjectivesAvailableStatus(), getObjectivesStatus(), getParentObject(), getQualifiedTestStatus(), getSettingsStatus(), SECTION_ITES, SECTION_MATERIALS, SECTION_OBJECTIVES, SECTION_OBJECTIVES_NEW, SECTION_QTEST, SECTION_SETTINGS, ilChecklistGUI\STATUS_NOT_OK, and ilChecklistGUI\STATUS_OK.
|
protected |
Definition at line 348 of file class.ilLOEditorStatus.php.
References $GLOBALS, appendFailure(), and getSettings().
Referenced by getFirstFailedStep(), and getHTML().
|
static |
Get instance.
ilObject | $a_parent |
Definition at line 57 of file class.ilLOEditorStatus.php.
References $instance.
Referenced by ilLOEditorGUI\executeCommand().
|
protected |
Get status of materials.
Definition at line 322 of file class.ilLOEditorStatus.php.
References $GLOBALS, appendFailure(), getParentObject(), and getSettings().
Referenced by getHTML().
ilLOEditorStatus::getObjectives | ( | ) |
Definition at line 66 of file class.ilLOEditorStatus.php.
References $objectives.
Referenced by checkNumberOfTries(), getObjectivesAvailableStatus(), and lookupQuestionsAssigned().
|
protected |
Get objectives.
Definition at line 314 of file class.ilLOEditorStatus.php.
References getObjectives().
Referenced by getFirstFailedStep(), getHTML(), and getObjectivesStatus().
|
protected |
Definition at line 415 of file class.ilLOEditorStatus.php.
References ilCourseObjective\_getCountObjectives(), ilCourseObjective\_getObjectiveIds(), appendFailure(), checkNumberOfTries(), getObjectivesAvailableStatus(), getParentObject(), getSettings(), and lookupQuestionsAssigned().
Referenced by getFirstFailedStep(), and getHTML().
ilLOEditorStatus::getParentObject | ( | ) |
Get parent object.
Definition at line 127 of file class.ilLOEditorStatus.php.
References $parent_obj.
Referenced by __construct(), getHTML(), getMaterialsStatus(), and getObjectivesStatus().
|
protected |
Definition at line 362 of file class.ilLOEditorStatus.php.
References $GLOBALS, appendFailure(), and getSettings().
Referenced by getFirstFailedStep(), and getHTML().
ilLOEditorStatus::getSection | ( | ) |
Definition at line 80 of file class.ilLOEditorStatus.php.
References $section.
ilLOEditorStatus::getSettings | ( | ) |
Definition at line 135 of file class.ilLOEditorStatus.php.
References $settings.
Referenced by checkNumberOfTries(), getFirstFailedStep(), getInitialTestStatus(), getMaterialsStatus(), getObjectivesStatus(), getQualifiedTestStatus(), and getSettingsStatus().
|
protected |
Check if course is lo confgured.
Definition at line 305 of file class.ilLOEditorStatus.php.
References getSettings().
Referenced by getFirstFailedStep(), and getHTML().
|
protected |
Definition at line 482 of file class.ilLOEditorStatus.php.
|
protected |
Check if questions are assigned.
type | $a_test_ref_id |
Definition at line 380 of file class.ilLOEditorStatus.php.
References ilObject\_lookupObjId(), getObjectives(), ilCourseObjectiveQuestion\lookupQuestionsByObjective(), ilLOUtils\lookupRandomTest(), and ilLORandomTestQuestionPools\lookupSequence().
Referenced by getObjectivesStatus().
ilLOEditorStatus::setCmdClass | ( | $a_cmd_class | ) |
Command class.
type | $a_cmd_class |
Definition at line 108 of file class.ilLOEditorStatus.php.
ilLOEditorStatus::setSection | ( | $a_section | ) |
Set current section.
type | $a_section |
Definition at line 75 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 30 of file class.ilLOEditorStatus.php.
Referenced by getCmdClass().
|
protected |
Definition at line 34 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 24 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 31 of file class.ilLOEditorStatus.php.
|
staticprotected |
Definition at line 19 of file class.ilLOEditorStatus.php.
Referenced by getInstance().
|
protected |
Definition at line 35 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 26 of file class.ilLOEditorStatus.php.
Referenced by getObjectives().
|
protected |
Definition at line 29 of file class.ilLOEditorStatus.php.
Referenced by getParentObject().
|
protected |
Definition at line 22 of file class.ilLOEditorStatus.php.
Referenced by getSection().
|
protected |
Definition at line 28 of file class.ilLOEditorStatus.php.
Referenced by getSettings().
|
protected |
Definition at line 33 of file class.ilLOEditorStatus.php.
const ilLOEditorStatus::SECTION_ITES = 3 |
Definition at line 14 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\confirmDeleteTest(), getHTML(), ilLOEditorGUI\testOverview(), and ilLOEditorGUI\testSettings().
const ilLOEditorStatus::SECTION_MATERIALS = 2 |
Definition at line 13 of file class.ilLOEditorStatus.php.
Referenced by getHTML(), and ilLOEditorGUI\materials().
const ilLOEditorStatus::SECTION_OBJECTIVES = 5 |
Definition at line 16 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\askDeleteObjectives(), getHTML(), ilLOEditorGUI\listObjectives(), and ilLOEditorGUI\saveObjectiveCreation().
const ilLOEditorStatus::SECTION_OBJECTIVES_NEW = 6 |
Definition at line 17 of file class.ilLOEditorStatus.php.
Referenced by getHTML(), and ilLOEditorGUI\showObjectiveCreation().
const ilLOEditorStatus::SECTION_QTEST = 4 |
Definition at line 15 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\confirmDeleteTest(), getHTML(), ilLOEditorGUI\testOverview(), and ilLOEditorGUI\testSettings().
const ilLOEditorStatus::SECTION_SETTINGS = 1 |
Definition at line 12 of file class.ilLOEditorStatus.php.
Referenced by getHTML(), and ilLOEditorGUI\settings().