|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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 = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Settings for LO courses
Definition at line 24 of file class.ilLOTestAssignments.php.
| ilLOTestAssignments::__construct | ( | int | $a_container_id | ) |
Definition at line 37 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 90 of file class.ilLOTestAssignments.php.
| ilLOTestAssignments::getAssignmentByObjective | ( | int | $a_objective_id, |
| int | $a_type | ||
| ) |
Definition at line 198 of file class.ilLOTestAssignments.php.
Referenced by getTestByObjective().
Here is the caller graph for this function:| ilLOTestAssignments::getAssignments | ( | ) |
Get assignments.
Definition at line 85 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 104 of file class.ilLOTestAssignments.php.
| ilLOTestAssignments::getContainerId | ( | ) |
Definition at line 71 of file class.ilLOTestAssignments.php.
References $container_id.
Referenced by readTestAssignments().
Here is the caller graph for this function:
|
static |
Definition at line 48 of file class.ilLOTestAssignments.php.
Referenced by ilLOEditorStatus\__construct(), ilLOTestQuestionAdapter\__construct(), ilCourseObjectiveMaterials\_getAssignableMaterials(), ilLOMemberTestResultTableGUI\createTestResultLink(), ilLOEditorGUI\deleteAssignments(), ilLOTestAssignmentForm\getAssignableTests(), ilTestLearningObjectivesStatusGUI\getUsersObjectivesStatus(), ilCourseObjective\ilClone(), ilLOTestAssignmentForm\initForm(), ilContainerObjectiveGUI\initTestAssignments(), ilLOUtils\lookupMaxAttempts(), ilLOTestQuestionAdapter\lookupRelevantObjectiveIdsForTest(), ilCourseObjectivesTableGUI\parse(), ilContainerObjectiveGUI\parseLOUserResults(), ilLOTestAssignmentTableGUI\parseMultipleAssignments(), ilCourseObjectiveResult\reset(), ilTestLP\resetCustomLPDataForUserIds(), and ilCourseObjective\toXml().
Here is the caller graph for this function:| ilLOTestAssignments::getSettings | ( | ) |
Definition at line 76 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 133 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 118 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 171 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 156 of file class.ilLOTestAssignments.php.
References getSettings().
Here is the call graph for this function:
|
static |
Definition at line 56 of file class.ilLOTestAssignments.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOSettings\isObjectiveTest(), and ilTestLP\resetCustomLPDataForUserIds().
Here is the caller graph for this function:
|
static |
Definition at line 240 of file class.ilLOTestAssignments.php.
References $DIC, $ilDB, $objectives, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilTestLP\resetCustomLPDataForUserIds().
Here is the caller graph for this function:
|
protected |
Definition at line 211 of file class.ilLOTestAssignments.php.
References $query, $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 223 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 32 of file class.ilLOTestAssignments.php.
Referenced by getAssignments().
|
private |
Definition at line 28 of file class.ilLOTestAssignments.php.
Referenced by getContainerId().
|
protected |
Definition at line 35 of file class.ilLOTestAssignments.php.
|
staticprivate |
Definition at line 26 of file class.ilLOTestAssignments.php.
|
private |
Definition at line 33 of file class.ilLOTestAssignments.php.
Referenced by getSettings().