|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Settings for LO courses. More...
Collaboration diagram for ilLOTestAssignments:Public Member Functions | |
| __construct (int $a_container_id) | |
| getContainerId () | |
| getSettings () | |
| getAssignments () | |
| Get assignments. More... | |
| getAssignmentsByType (int $a_type) | |
| Get assignments by type. More... | |
| getTests () | |
| getTestByObjective (int $a_objective_id, int $a_type) | |
| isSeparateTest (int $a_test_ref_id) | |
| getTypeByTest (int $a_test_ref_id) | |
| getAssignmentByObjective (int $a_objective_id, int $a_type) | |
| toXml (ilXmlWriter $writer, int $a_objective_id) | |
Static Public Member Functions | |
| static | getInstance (int $a_container_id) |
| static | lookupContainerForTest (int $a_test_ref_id) |
| static | deleteByContainer (int $a_container_id) |
| static | lookupObjectivesForTest (int $a_test_ref_id) |
Protected Member Functions | |
| readTestAssignments () | |
Protected Attributes | |
| ilDBInterface | $db |
Private Attributes | |
| int | $container_id = 0 |
| array | $assignments = [] |
| ilLOSettings | $settings |
Static Private Attributes | |
| static array | $instances = [] |
Settings for LO courses.
Definition at line 25 of file class.ilLOTestAssignments.php.
| ilLOTestAssignments::__construct | ( | int | $a_container_id | ) |
Definition at line 38 of file class.ilLOTestAssignments.php.
References $DIC, ilLOSettings\getInstanceByObjId(), readTestAssignments(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
static |
Definition at line 91 of file class.ilLOTestAssignments.php.
| ilLOTestAssignments::getAssignmentByObjective | ( | int | $a_objective_id, |
| int | $a_type | ||
| ) |
Definition at line 199 of file class.ilLOTestAssignments.php.
Referenced by getTestByObjective().
Here is the caller graph for this function:| ilLOTestAssignments::getAssignments | ( | ) |
Get assignments.
Definition at line 86 of file class.ilLOTestAssignments.php.
References $assignments.
Referenced by toXml().
Here is the caller graph for this function:| ilLOTestAssignments::getAssignmentsByType | ( | int | $a_type | ) |
Get assignments by type.
Definition at line 105 of file class.ilLOTestAssignments.php.
| ilLOTestAssignments::getContainerId | ( | ) |
Definition at line 72 of file class.ilLOTestAssignments.php.
References $container_id.
Referenced by readTestAssignments().
Here is the caller graph for this function:
|
static |
Definition at line 49 of file class.ilLOTestAssignments.php.
Referenced by ilLOTestQuestionAdapter\__construct(), ilLOEditorStatus\__construct(), ilCourseObjectiveMaterials\_getAssignableMaterials(), ilLOMemberTestResultTableGUI\createTestResultLink(), ilLOEditorGUI\deleteAssignments(), ilLOTestAssignmentForm\getAssignableTests(), ilPortfolioPageGUI\getCoursesOfUser(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesStatus(), ilCourseObjective\ilClone(), ilLOTestAssignmentForm\initForm(), ilLOUtils\lookupMaxAttempts(), ilLOUtils\lookupObjectiveRequiredPercentage(), ilLOTestQuestionAdapter\lookupRelevantObjectiveIdsForTest(), ilCourseObjectivesTableGUI\parse(), ILIAS\Containter\Content\ObjectiveRenderer\parseLOUserResults(), ilLOTestAssignmentTableGUI\parseMultipleAssignments(), ilCourseObjectiveResult\reset(), ilTestLP\resetCustomLPDataForUserIds(), and ilCourseObjective\toXml().
Here is the caller graph for this function:| ilLOTestAssignments::getSettings | ( | ) |
Definition at line 77 of file class.ilLOTestAssignments.php.
References $settings.
Referenced by getTestByObjective(), getTests(), getTypeByTest(), and isSeparateTest().
Here is the caller graph for this function:| ilLOTestAssignments::getTestByObjective | ( | int | $a_objective_id, |
| int | $a_type | ||
| ) |
Definition at line 134 of file class.ilLOTestAssignments.php.
References getAssignmentByObjective(), getSettings(), ilLOSettings\TYPE_TEST_INITIAL, and ilLOSettings\TYPE_TEST_QUALIFIED.
Referenced by ilLOTestQuestionAdapter\lookupRelevantObjectiveIdsForTest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOTestAssignments::getTests | ( | ) |
Definition at line 119 of file class.ilLOTestAssignments.php.
References getSettings().
Here is the call graph for this function:| ilLOTestAssignments::getTypeByTest | ( | int | $a_test_ref_id | ) |
Definition at line 172 of file class.ilLOTestAssignments.php.
References getSettings(), ilLOSettings\TYPE_TEST_INITIAL, ilLOSettings\TYPE_TEST_QUALIFIED, and ilLOSettings\TYPE_TEST_UNDEFINED.
Referenced by ilLOTestQuestionAdapter\lookupRelevantObjectiveIdsForTest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOTestAssignments::isSeparateTest | ( | int | $a_test_ref_id | ) |
Definition at line 157 of file class.ilLOTestAssignments.php.
References getSettings().
Here is the call graph for this function:
|
static |
Definition at line 57 of file class.ilLOTestAssignments.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOSettings\isObjectiveTest(), and ilTestLP\resetCustomLPDataForUserIds().
Here is the caller graph for this function:
|
static |
Definition at line 241 of file class.ilLOTestAssignments.php.
References $DIC, $ilDB, $objectives, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilTestLP\resetCustomLPDataForUserIds().
Here is the caller graph for this function:
|
protected |
Definition at line 212 of file class.ilLOTestAssignments.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and getContainerId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOTestAssignments::toXml | ( | ilXmlWriter | $writer, |
| int | $a_objective_id | ||
| ) |
Definition at line 224 of file class.ilLOTestAssignments.php.
References getAssignments(), ilLOXmlWriter\TYPE_TST_PO, and ilXmlWriter\xmlElement().
Here is the call graph for this function:
|
private |
Definition at line 33 of file class.ilLOTestAssignments.php.
Referenced by getAssignments().
|
private |
Definition at line 29 of file class.ilLOTestAssignments.php.
Referenced by getContainerId().
|
protected |
Definition at line 36 of file class.ilLOTestAssignments.php.
|
staticprivate |
Definition at line 27 of file class.ilLOTestAssignments.php.
|
private |
Definition at line 34 of file class.ilLOTestAssignments.php.
Referenced by getSettings().