ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Presentation of the status of single steps during the configuration process. More...
Public Member Functions | |
__construct (ilObject $a_parent) | |
getObjectives () | |
getAssignments () | |
setSection (int $a_section) | |
getSection () | |
getFailures (int $a_section) | |
setCmdClass (object $a_cmd_class) | |
getCmdClass () | |
getParentObject () | |
getSettings () | |
getFirstFailedStep () | |
getHTML () | |
getFailureMessages (int $a_section) | |
determineStatus (bool $done, int $section) | |
determineActiveSection () | |
hasSectionErrors (int $a_section) | |
Static Public Member Functions | |
static | getInstance (ilObject $a_parent) |
Data Fields | |
const | SECTION_UNDEFINED = 0 |
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 | |
initTestTypeFromQuery () | |
appendFailure (int $a_section, string $a_failure_msg_key, bool $is_error=false) | |
getSettingsStatus () | |
getObjectivesAvailableStatus ($a_set_errors=false) | |
getMaterialsStatus (bool $a_set_errors=true) | |
getInitialTestStatus (bool $a_set_errors=true) | |
getQualifiedTestStatus (bool $a_set_errors=true) | |
lookupQuestionsAssigned (int $a_test_ref_id) | |
getObjectivesStatus (bool $a_set_errors=true) | |
getStartStatus () | |
checkNumberOfTries () | |
checkTestOnline (int $a_ref_id) | |
Protected Attributes | |
int | $section = self::SECTION_UNDEFINED |
array | $failures_by_section = [] |
array | $error_by_section = [] |
array | $objectives = [] |
int | $forced_test_type = 0 |
ilLOSettings | $settings |
ilLOTestAssignments | $assignments |
ilObject | $parent_obj |
object | $cmd_class = null |
string | $html = '' |
ilCtrlInterface | $ctrl |
ilLanguage | $lng |
ilTree | $tree |
ilGlobalTemplateInterface | $tpl |
UiRenderer | $ui_renderer |
UiWorkflow | $workflow |
ILIAS Refinery Factory | $refinery |
ILIAS HTTP Services | $http |
Static Protected Attributes | |
static self | $instance = null |
Presentation of the status of single steps during the configuration process.
Definition at line 29 of file class.ilLOEditorStatus.php.
ilLOEditorStatus::__construct | ( | ilObject | $a_parent | ) |
Definition at line 67 of file class.ilLOEditorStatus.php.
References $DIC, ilCourseObjective\_getObjectiveIds(), ILIAS\Repository\ctrl(), ILIAS\Survey\Mode\getId(), ilLOTestAssignments\getInstance(), ilLOSettings\getInstanceByObjId(), getParentObject(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\settings().
|
protected |
Definition at line 137 of file class.ilLOEditorStatus.php.
Referenced by getInitialTestStatus(), getMaterialsStatus(), getObjectivesAvailableStatus(), getObjectivesStatus(), and getQualifiedTestStatus().
|
protected |
Definition at line 519 of file class.ilLOEditorStatus.php.
References getObjectives(), getSettings(), and ilCourseObjective\lookupMaxPasses().
|
protected |
Definition at line 544 of file class.ilLOEditorStatus.php.
References ilObjTestAccess\_isOffline(), and ilObject\_lookupObjId().
Referenced by getInitialTestStatus(), and getQualifiedTestStatus().
ilLOEditorStatus::determineActiveSection | ( | ) |
Definition at line 304 of file class.ilLOEditorStatus.php.
References $section, ILIAS\Survey\Mode\getId(), ilLOSettings\getInstanceByObjId(), and getParentObject().
Referenced by getHTML().
ilLOEditorStatus::determineStatus | ( | bool | $done, |
int | $section | ||
) |
Definition at line 291 of file class.ilLOEditorStatus.php.
References hasSectionErrors().
Referenced by getHTML().
ilLOEditorStatus::getAssignments | ( | ) |
Definition at line 117 of file class.ilLOEditorStatus.php.
References $assignments.
Referenced by getInitialTestStatus(), and getQualifiedTestStatus().
ilLOEditorStatus::getCmdClass | ( | ) |
Definition at line 150 of file class.ilLOEditorStatus.php.
References $cmd_class.
Referenced by getHTML().
ilLOEditorStatus::getFailureMessages | ( | int | $a_section | ) |
Definition at line 282 of file class.ilLOEditorStatus.php.
References getFailures(), and ILIAS\Repository\lng().
Referenced by getHTML().
ilLOEditorStatus::getFailures | ( | int | $a_section | ) |
Definition at line 132 of file class.ilLOEditorStatus.php.
Referenced by getFailureMessages().
ilLOEditorStatus::getFirstFailedStep | ( | ) |
Definition at line 165 of file class.ilLOEditorStatus.php.
References getInitialTestStatus(), getMaterialsStatus(), getObjectivesAvailableStatus(), getQualifiedTestStatus(), getSettings(), getSettingsStatus(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
ilLOEditorStatus::getHTML | ( | ) |
Definition at line 197 of file class.ilLOEditorStatus.php.
References ILIAS\Repository\ctrl(), determineActiveSection(), determineStatus(), getCmdClass(), getFailureMessages(), ILIAS\Survey\Mode\getId(), getInitialTestStatus(), ilLOSettings\getInstanceByObjId(), getMaterialsStatus(), getObjectivesAvailableStatus(), getObjectivesStatus(), getParentObject(), getQualifiedTestStatus(), getSettings(), getSettingsStatus(), initTestTypeFromQuery(), ILIAS\Repository\lng(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
|
protected |
Definition at line 361 of file class.ilLOEditorStatus.php.
References appendFailure(), checkTestOnline(), getAssignments(), getObjectives(), getSettings(), and ilLOSettings\TYPE_TEST_INITIAL.
Referenced by getFirstFailedStep(), and getHTML().
|
static |
Definition at line 86 of file class.ilLOEditorStatus.php.
References null.
Referenced by ilLOEditorGUI\executeCommand().
|
protected |
Definition at line 340 of file class.ilLOEditorStatus.php.
References appendFailure(), getParentObject(), and getSettings().
Referenced by getFirstFailedStep(), and getHTML().
ilLOEditorStatus::getObjectives | ( | ) |
Definition at line 112 of file class.ilLOEditorStatus.php.
References $objectives.
Referenced by checkNumberOfTries(), getInitialTestStatus(), getObjectivesAvailableStatus(), getQualifiedTestStatus(), and lookupQuestionsAssigned().
|
protected |
Definition at line 329 of file class.ilLOEditorStatus.php.
References appendFailure(), and getObjectives().
Referenced by getFirstFailedStep(), getHTML(), and getObjectivesStatus().
|
protected |
Definition at line 472 of file class.ilLOEditorStatus.php.
References ilCourseObjective\_getCountObjectives(), ilCourseObjective\_getObjectiveIds(), appendFailure(), ILIAS\Survey\Mode\getId(), getObjectivesAvailableStatus(), getParentObject(), getSettings(), and lookupQuestionsAssigned().
Referenced by getHTML().
ilLOEditorStatus::getParentObject | ( | ) |
Definition at line 155 of file class.ilLOEditorStatus.php.
References $parent_obj.
Referenced by __construct(), determineActiveSection(), getHTML(), getMaterialsStatus(), and getObjectivesStatus().
|
protected |
Definition at line 402 of file class.ilLOEditorStatus.php.
References appendFailure(), checkTestOnline(), getAssignments(), getObjectives(), getSettings(), and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by getFirstFailedStep(), and getHTML().
ilLOEditorStatus::getSection | ( | ) |
ilLOEditorStatus::getSettings | ( | ) |
Definition at line 160 of file class.ilLOEditorStatus.php.
References $settings.
Referenced by checkNumberOfTries(), getFirstFailedStep(), getHTML(), getInitialTestStatus(), getMaterialsStatus(), getObjectivesStatus(), getQualifiedTestStatus(), and getSettingsStatus().
|
protected |
Definition at line 324 of file class.ilLOEditorStatus.php.
References getSettings().
Referenced by getFirstFailedStep(), and getHTML().
|
protected |
Definition at line 514 of file class.ilLOEditorStatus.php.
ilLOEditorStatus::hasSectionErrors | ( | int | $a_section | ) |
Definition at line 319 of file class.ilLOEditorStatus.php.
Referenced by determineStatus().
|
protected |
Definition at line 94 of file class.ilLOEditorStatus.php.
References $forced_test_type, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by getHTML().
|
protected |
Definition at line 445 of file class.ilLOEditorStatus.php.
References ilObject\_lookupObjId(), getObjectives(), ilCourseObjectiveQuestion\lookupQuestionsByObjective(), ilLOUtils\lookupRandomTest(), and ilLORandomTestQuestionPools\lookupSequences().
Referenced by getObjectivesStatus().
ilLOEditorStatus::setCmdClass | ( | object | $a_cmd_class | ) |
Definition at line 145 of file class.ilLOEditorStatus.php.
ilLOEditorStatus::setSection | ( | int | $a_section | ) |
Definition at line 122 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 53 of file class.ilLOEditorStatus.php.
Referenced by getAssignments().
|
protected |
Definition at line 55 of file class.ilLOEditorStatus.php.
Referenced by getCmdClass().
|
protected |
Definition at line 58 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 47 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 44 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 50 of file class.ilLOEditorStatus.php.
Referenced by initTestTypeFromQuery().
|
protected |
Definition at line 56 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 65 of file class.ilLOEditorStatus.php.
|
staticprotected |
Definition at line 39 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 59 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 49 of file class.ilLOEditorStatus.php.
Referenced by getObjectives().
|
protected |
Definition at line 54 of file class.ilLOEditorStatus.php.
Referenced by getParentObject().
|
protected |
Definition at line 64 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 41 of file class.ilLOEditorStatus.php.
Referenced by determineActiveSection(), and getSection().
|
protected |
Definition at line 52 of file class.ilLOEditorStatus.php.
Referenced by getSettings().
|
protected |
Definition at line 61 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 60 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 62 of file class.ilLOEditorStatus.php.
|
protected |
Definition at line 63 of file class.ilLOEditorStatus.php.
const ilLOEditorStatus::SECTION_ITES = 3 |
Definition at line 34 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 33 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\materials().
const ilLOEditorStatus::SECTION_OBJECTIVES = 5 |
Definition at line 36 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\askDeleteObjectives(), ilLOEditorGUI\listObjectives(), and ilLOEditorGUI\saveObjectiveCreation().
const ilLOEditorStatus::SECTION_OBJECTIVES_NEW = 6 |
Definition at line 37 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\showObjectiveCreation().
const ilLOEditorStatus::SECTION_QTEST = 4 |
Definition at line 35 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 32 of file class.ilLOEditorStatus.php.
Referenced by ilLOEditorGUI\settings().
const ilLOEditorStatus::SECTION_UNDEFINED = 0 |
Definition at line 31 of file class.ilLOEditorStatus.php.