ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Presentation of the status of single steps during the configuration process. More...
Public Member Functions | |
__construct (ilObject $a_parent) | |
Constructor. More... | |
getObjectives () | |
getAssignments () | |
setSection ($a_section) | |
Set current section. More... | |
getSection () | |
getFailures ($a_section) | |
Get failures by section. More... | |
setCmdClass ($a_cmd_class) | |
Command class. More... | |
getCmdClass () | |
Get cmd class. More... | |
getParentObject () | |
Get parent object. More... | |
getSettings () | |
getFirstFailedStep () | |
Get first failed step. More... | |
getHTML () | |
Get html. More... | |
getErrorMessages ($a_section) | |
Get error messages. More... | |
Static Public Member Functions | |
static | getInstance (ilObject $a_parent) |
Get instance. More... | |
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. More... | |
getSettingsStatus () | |
Check if course is lo confgured. More... | |
getObjectivesAvailableStatus ($a_set_errors=false) | |
getMaterialsStatus ($a_set_errors=true) | |
Get status of materials. More... | |
getInitialTestStatus ($a_set_errors=true) | |
Get initial test status. More... | |
getQualifiedTestStatus ($a_set_errors=true) | |
Check status of qualified test. More... | |
lookupQuestionsAssigned ($a_test_ref_id) | |
Check if questions are assigned. More... | |
getObjectivesStatus ($a_set_errors=true) | |
getStartStatus () | |
checkNumberOfTries () | |
checkTestOnline ($a_ref_id) | |
Check if test is online. More... | |
Protected Attributes | |
$section = null | |
$failures_by_section = array() | |
$objectives = array() | |
$settings = null | |
$assignments = 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 12 of file class.ilLOEditorStatus.php.
ilLOEditorStatus::__construct | ( | ilObject | $a_parent | ) |
Constructor.
ilObject |
Definition at line 44 of file class.ilLOEditorStatus.php.
References $GLOBALS, ilCourseObjective\_getObjectiveIds(), ilLOTestAssignments\getInstance(), ilLOSettings\getInstanceByObjId(), getParentObject(), and settings().
|
protected |
Append failure.
type | $a_section | |
type | $a_failure_msg_key |
Definition at line 115 of file class.ilLOEditorStatus.php.
Referenced by getInitialTestStatus(), getMaterialsStatus(), getObjectivesAvailableStatus(), getObjectivesStatus(), and getQualifiedTestStatus().
|
protected |
Definition at line 557 of file class.ilLOEditorStatus.php.
References $factory, $GLOBALS, getObjectives(), getSettings(), and ilCourseObjective\lookupMaxPasses().
|
protected |
Check if test is online.
int | $a_ref_id |
Definition at line 589 of file class.ilLOEditorStatus.php.
References ilObjTestAccess\_isOffline(), and ilObject\_lookupObjId().
Referenced by getInitialTestStatus(), and getQualifiedTestStatus().
ilLOEditorStatus::getAssignments | ( | ) |
Definition at line 81 of file class.ilLOEditorStatus.php.
References $assignments.
Referenced by getInitialTestStatus(), and getQualifiedTestStatus().
ilLOEditorStatus::getCmdClass | ( | ) |
Get cmd class.
Definition at line 133 of file class.ilLOEditorStatus.php.
References $cmd_class.
Referenced by getHTML().
ilLOEditorStatus::getErrorMessages | ( | $a_section | ) |
Get error messages.
Definition at line 319 of file class.ilLOEditorStatus.php.
References getFailures().
Referenced by getHTML().
ilLOEditorStatus::getFailures | ( | $a_section | ) |
Get failures by section.
type | $a_section |
Definition at line 105 of file class.ilLOEditorStatus.php.
Referenced by getErrorMessages().
ilLOEditorStatus::getFirstFailedStep | ( | ) |
Get first failed step.
Definition at line 159 of file class.ilLOEditorStatus.php.
References getInitialTestStatus(), getObjectivesAvailableStatus(), getObjectivesStatus(), getQualifiedTestStatus(), getSettings(), getSettingsStatus(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
ilLOEditorStatus::getHTML | ( | ) |
Get html.
Definition at line 199 of file class.ilLOEditorStatus.php.
References $_GET, $list, getCmdClass(), getErrorMessages(), getInitialTestStatus(), ilLOSettings\getInstanceByObjId(), getMaterialsStatus(), getObjectivesAvailableStatus(), getObjectivesStatus(), getParentObject(), getQualifiedTestStatus(), getSettings(), getSettingsStatus(), ilChecklistGUI\STATUS_NOT_OK, ilChecklistGUI\STATUS_OK, ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
Get initial test status.
type | $a_set_errors |
Definition at line 384 of file class.ilLOEditorStatus.php.
References $GLOBALS, appendFailure(), checkTestOnline(), getAssignments(), getObjectives(), getSettings(), and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by getFirstFailedStep(), and getHTML().
|
static |
Get instance.
ilObject | $a_parent |
Definition at line 61 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\executeCommand().
|
protected |
Get status of materials.
Definition at line 358 of file class.ilLOEditorStatus.php.
References $GLOBALS, appendFailure(), getParentObject(), and getSettings().
Referenced by getHTML().
ilLOEditorStatus::getObjectives | ( | ) |
Definition at line 72 of file class.ilLOEditorStatus.php.
References $objectives.
Referenced by checkNumberOfTries(), getInitialTestStatus(), getObjectivesAvailableStatus(), getQualifiedTestStatus(), and lookupQuestionsAssigned().
|
protected |
Definition at line 344 of file class.ilLOEditorStatus.php.
References $ret, appendFailure(), and getObjectives().
Referenced by getFirstFailedStep(), getHTML(), and getObjectivesStatus().
|
protected |
Definition at line 495 of file class.ilLOEditorStatus.php.
References ilCourseObjective\_getCountObjectives(), ilCourseObjective\_getObjectiveIds(), appendFailure(), getObjectivesAvailableStatus(), getParentObject(), getSettings(), and lookupQuestionsAssigned().
Referenced by getFirstFailedStep(), and getHTML().
ilLOEditorStatus::getParentObject | ( | ) |
Get parent object.
Definition at line 143 of file class.ilLOEditorStatus.php.
References $parent_obj.
Referenced by __construct(), getHTML(), getMaterialsStatus(), and getObjectivesStatus().
|
protected |
Check status of qualified test.
type | $a_set_errors |
Definition at line 427 of file class.ilLOEditorStatus.php.
References $GLOBALS, appendFailure(), checkTestOnline(), getAssignments(), getObjectives(), getSettings(), and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by getFirstFailedStep(), and getHTML().
ilLOEditorStatus::getSection | ( | ) |
ilLOEditorStatus::getSettings | ( | ) |
Definition at line 151 of file class.ilLOEditorStatus.php.
References $settings.
Referenced by checkNumberOfTries(), getFirstFailedStep(), getHTML(), getInitialTestStatus(), getMaterialsStatus(), getObjectivesStatus(), getQualifiedTestStatus(), and getSettingsStatus().
|
protected |
Check if course is lo confgured.
Definition at line 333 of file class.ilLOEditorStatus.php.
References getSettings().
Referenced by getFirstFailedStep(), and getHTML().
|
protected |
Definition at line 552 of file class.ilLOEditorStatus.php.
|
protected |
Check if questions are assigned.
type | $a_test_ref_id |
Definition at line 467 of file class.ilLOEditorStatus.php.
References ilObject\_lookupObjId(), getObjectives(), ilCourseObjectiveQuestion\lookupQuestionsByObjective(), ilLOUtils\lookupRandomTest(), and ilLORandomTestQuestionPools\lookupSequences().
Referenced by getObjectivesStatus().
ilLOEditorStatus::setCmdClass | ( | $a_cmd_class | ) |
Command class.
type | $a_cmd_class |
Definition at line 124 of file class.ilLOEditorStatus.php.
ilLOEditorStatus::setSection | ( | $a_section | ) |
Set current section.
type | $a_section |
Definition at line 91 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 31 of file class.ilLOEditorStatus.php.
Referenced by getAssignments().
|
protected |
Definition at line 33 of file class.ilLOEditorStatus.php.
Referenced by getCmdClass().
|
protected |
Definition at line 37 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 26 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 34 of file class.ilLOEditorStatus.php.
|
staticprotected |
Definition at line 21 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 38 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 28 of file class.ilLOEditorStatus.php.
Referenced by getObjectives().
|
protected |
Definition at line 32 of file class.ilLOEditorStatus.php.
Referenced by getParentObject().
|
protected |
Definition at line 24 of file class.ilLOEditorStatus.php.
Referenced by getSection().
|
protected |
Definition at line 30 of file class.ilLOEditorStatus.php.
Referenced by getSettings().
|
protected |
Definition at line 36 of file class.ilLOEditorStatus.php.
const ilLOEditorStatus::SECTION_ITES = 3 |
Definition at line 16 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\confirmDeleteTest(), ilLOEditorGUI\confirmDeleteTests(), ilLOEditorGUI\testAssignment(), ilLOEditorGUI\testOverview(), ilLOEditorGUI\testSettings(), and ilLOEditorGUI\testsOverview().
const ilLOEditorStatus::SECTION_MATERIALS = 2 |
Definition at line 15 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\materials().
const ilLOEditorStatus::SECTION_OBJECTIVES = 5 |
Definition at line 18 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\askDeleteObjectives(), ilLOEditorGUI\listObjectives(), and ilLOEditorGUI\saveObjectiveCreation().
const ilLOEditorStatus::SECTION_OBJECTIVES_NEW = 6 |
Definition at line 19 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\showObjectiveCreation().
const ilLOEditorStatus::SECTION_QTEST = 4 |
Definition at line 17 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\confirmDeleteTest(), ilLOEditorGUI\confirmDeleteTests(), ilLOEditorGUI\testAssignment(), ilLOEditorGUI\testOverview(), ilLOEditorGUI\testSettings(), and ilLOEditorGUI\testsOverview().
const ilLOEditorStatus::SECTION_SETTINGS = 1 |
Definition at line 14 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\settings().