|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Presentation of the status of single steps during the configuration process. More...
Collaboration diagram for ilLOEditorStatus:Public Member Functions | |
| __construct (ilObject $a_parent) | |
| Constructor. More... | |
| getObjectives () | |
| getAssignments () | |
| setSection (int $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... | |
| getFailureMessages ($a_section) | |
| Get error messages. More... | |
| determineStatus (bool $done, int $section) | |
| Determines workflow status of section. More... | |
| determineActiveSection () | |
| Determines active section position of workflow. More... | |
| hasSectionErrors ($a_section) | |
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 (int $a_section, string $a_failure_msg_key, bool $is_error=false) | |
| 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() | |
| $error_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 14 of file class.ilLOEditorStatus.php.
| ilLOEditorStatus::__construct | ( | ilObject | $a_parent | ) |
Constructor.
| ilObject |
Definition at line 59 of file class.ilLOEditorStatus.php.
References $GLOBALS, ilCourseObjective\_getObjectiveIds(), ilLOTestAssignments\getInstance(), ilLOSettings\getInstanceByObjId(), getParentObject(), and settings().
Here is the call graph for this function:
|
protected |
Append failure.
| int | $a_section | |
| string | $a_failure_msg_key | |
| bool | $is_error |
Definition at line 136 of file class.ilLOEditorStatus.php.
Referenced by getInitialTestStatus(), getMaterialsStatus(), getObjectivesAvailableStatus(), getObjectivesStatus(), and getQualifiedTestStatus().
Here is the caller graph for this function:
|
protected |
Definition at line 625 of file class.ilLOEditorStatus.php.
References $factory, $GLOBALS, getObjectives(), getSettings(), and ilCourseObjective\lookupMaxPasses().
Here is the call graph for this function:
|
protected |
Check if test is online.
| int | $a_ref_id |
Definition at line 658 of file class.ilLOEditorStatus.php.
References ilObjTestAccess\_isOffline(), and ilObject\_lookupObjId().
Referenced by getInitialTestStatus(), and getQualifiedTestStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOEditorStatus::determineActiveSection | ( | ) |
Determines active section position of workflow.
Definition at line 359 of file class.ilLOEditorStatus.php.
References $section, ilLOSettings\getInstanceByObjId(), and getParentObject().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOEditorStatus::determineStatus | ( | bool | $done, |
| int | $section | ||
| ) |
Determines workflow status of section.
| bool | $done | |
| $section |
Definition at line 339 of file class.ilLOEditorStatus.php.
References $section, and hasSectionErrors().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOEditorStatus::getAssignments | ( | ) |
Definition at line 97 of file class.ilLOEditorStatus.php.
References $assignments.
Referenced by getInitialTestStatus(), and getQualifiedTestStatus().
Here is the caller graph for this function:| ilLOEditorStatus::getCmdClass | ( | ) |
Get cmd class.
Definition at line 157 of file class.ilLOEditorStatus.php.
References $cmd_class.
Referenced by getHTML().
Here is the caller graph for this function:| ilLOEditorStatus::getFailureMessages | ( | $a_section | ) |
Get error messages.
return array
Definition at line 323 of file class.ilLOEditorStatus.php.
References getFailures().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOEditorStatus::getFailures | ( | $a_section | ) |
Get failures by section.
| int | $a_section |
Definition at line 125 of file class.ilLOEditorStatus.php.
Referenced by getFailureMessages().
Here is the caller graph for this function:| ilLOEditorStatus::getFirstFailedStep | ( | ) |
Get first failed step.
Definition at line 185 of file class.ilLOEditorStatus.php.
References getInitialTestStatus(), getObjectivesAvailableStatus(), getObjectivesStatus(), getQualifiedTestStatus(), getSettings(), getSettingsStatus(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Here is the call graph for this function:| ilLOEditorStatus::getHTML | ( | ) |
Get html.
@ret string
Definition at line 227 of file class.ilLOEditorStatus.php.
References $_GET, $DIC, $steps, determineActiveSection(), determineStatus(), getCmdClass(), getFailureMessages(), getInitialTestStatus(), ilLOSettings\getInstanceByObjId(), getMaterialsStatus(), getObjectivesAvailableStatus(), getObjectivesStatus(), getParentObject(), getQualifiedTestStatus(), getSettings(), getSettingsStatus(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Here is the call graph for this function:
|
protected |
Get initial test status.
| bool | $a_set_errors |
Definition at line 440 of file class.ilLOEditorStatus.php.
References $GLOBALS, appendFailure(), checkTestOnline(), getAssignments(), getObjectives(), getSettings(), and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by getFirstFailedStep(), and getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get instance.
| ilObject | $a_parent |
Definition at line 77 of file class.ilLOEditorStatus.php.
References $instance.
Referenced by ilLOEditorGUI\executeCommand().
Here is the caller graph for this function:
|
protected |
Get status of materials.
| bool | $a_set_errors |
Definition at line 414 of file class.ilLOEditorStatus.php.
References $GLOBALS, appendFailure(), getParentObject(), and getSettings().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOEditorStatus::getObjectives | ( | ) |
Definition at line 88 of file class.ilLOEditorStatus.php.
References $objectives.
Referenced by checkNumberOfTries(), getInitialTestStatus(), getObjectivesAvailableStatus(), getQualifiedTestStatus(), and lookupQuestionsAssigned().
Here is the caller graph for this function:
|
protected |
Definition at line 398 of file class.ilLOEditorStatus.php.
References $ret, appendFailure(), and getObjectives().
Referenced by getFirstFailedStep(), getHTML(), and getObjectivesStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| bool | $a_set_errors |
Definition at line 563 of file class.ilLOEditorStatus.php.
References ilCourseObjective\_getCountObjectives(), ilCourseObjective\_getObjectiveIds(), appendFailure(), getObjectivesAvailableStatus(), getParentObject(), getSettings(), and lookupQuestionsAssigned().
Referenced by getFirstFailedStep(), and getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOEditorStatus::getParentObject | ( | ) |
Get parent object.
Definition at line 167 of file class.ilLOEditorStatus.php.
References $parent_obj.
Referenced by __construct(), determineActiveSection(), getHTML(), getMaterialsStatus(), and getObjectivesStatus().
Here is the caller graph for this function:
|
protected |
Check status of qualified test.
| bool | $a_set_errors |
Definition at line 487 of file class.ilLOEditorStatus.php.
References $GLOBALS, appendFailure(), checkTestOnline(), getAssignments(), getObjectives(), getSettings(), and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by getFirstFailedStep(), and getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOEditorStatus::getSection | ( | ) |
| ilLOEditorStatus::getSettings | ( | ) |
Definition at line 175 of file class.ilLOEditorStatus.php.
References $settings.
Referenced by checkNumberOfTries(), getFirstFailedStep(), getHTML(), getInitialTestStatus(), getMaterialsStatus(), getObjectivesStatus(), getQualifiedTestStatus(), and getSettingsStatus().
Here is the caller graph for this function:
|
protected |
Check if course is lo confgured.
Definition at line 387 of file class.ilLOEditorStatus.php.
References getSettings().
Referenced by getFirstFailedStep(), and getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 620 of file class.ilLOEditorStatus.php.
| ilLOEditorStatus::hasSectionErrors | ( | $a_section | ) |
| $a_section |
Definition at line 378 of file class.ilLOEditorStatus.php.
Referenced by determineStatus().
Here is the caller graph for this function:
|
protected |
Check if questions are assigned.
| int | $a_test_ref_id |
Definition at line 532 of file class.ilLOEditorStatus.php.
References ilObject\_lookupObjId(), getObjectives(), ilCourseObjectiveQuestion\lookupQuestionsByObjective(), ilLOUtils\lookupRandomTest(), and ilLORandomTestQuestionPools\lookupSequences().
Referenced by getObjectivesStatus().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOEditorStatus::setCmdClass | ( | $a_cmd_class | ) |
Command class.
| object | $a_cmd_class |
Definition at line 148 of file class.ilLOEditorStatus.php.
| ilLOEditorStatus::setSection | ( | int | $a_section | ) |
Set current section.
| int | $a_section |
Definition at line 107 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 40 of file class.ilLOEditorStatus.php.
Referenced by getAssignments().
|
protected |
Definition at line 44 of file class.ilLOEditorStatus.php.
Referenced by getCmdClass().
|
protected |
Definition at line 51 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 32 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 30 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 46 of file class.ilLOEditorStatus.php.
|
staticprotected |
Definition at line 24 of file class.ilLOEditorStatus.php.
Referenced by getInstance().
|
protected |
Definition at line 53 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 35 of file class.ilLOEditorStatus.php.
Referenced by getObjectives().
|
protected |
Definition at line 42 of file class.ilLOEditorStatus.php.
Referenced by getParentObject().
|
protected |
Definition at line 27 of file class.ilLOEditorStatus.php.
Referenced by determineActiveSection(), determineStatus(), and getSection().
|
protected |
Definition at line 38 of file class.ilLOEditorStatus.php.
Referenced by getSettings().
|
protected |
Definition at line 49 of file class.ilLOEditorStatus.php.
| const ilLOEditorStatus::SECTION_ITES = 3 |
Definition at line 18 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 17 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\materials().
| const ilLOEditorStatus::SECTION_OBJECTIVES = 5 |
Definition at line 20 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\askDeleteObjectives(), ilLOEditorGUI\listObjectives(), and ilLOEditorGUI\saveObjectiveCreation().
| const ilLOEditorStatus::SECTION_OBJECTIVES_NEW = 6 |
Definition at line 21 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\showObjectiveCreation().
| const ilLOEditorStatus::SECTION_QTEST = 4 |
Definition at line 19 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 16 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\settings().