ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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().
|
static |
ilLOTestAssignments::getAssignmentByObjective | ( | int | $a_objective_id, |
int | $a_type | ||
) |
Definition at line 198 of file class.ilLOTestAssignments.php.
Referenced by getTestByObjective().
ilLOTestAssignments::getAssignments | ( | ) |
Get assignments.
Definition at line 85 of file class.ilLOTestAssignments.php.
References $assignments.
Referenced by toXml().
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().
|
static |
Definition at line 48 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(), ilLOTestAssignmentTableGUI\parseMultipleAssignments(), ilCourseObjectiveResult\reset(), ilTestLP\resetCustomLPDataForUserIds(), and ilCourseObjective\toXml().
ilLOTestAssignments::getSettings | ( | ) |
Definition at line 76 of file class.ilLOTestAssignments.php.
References $settings.
Referenced by getTestByObjective(), getTests(), getTypeByTest(), and isSeparateTest().
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().
ilLOTestAssignments::getTests | ( | ) |
Definition at line 118 of file class.ilLOTestAssignments.php.
References getSettings().
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().
ilLOTestAssignments::isSeparateTest | ( | int | $a_test_ref_id | ) |
Definition at line 156 of file class.ilLOTestAssignments.php.
References getSettings().
|
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().
|
static |
Definition at line 240 of file class.ilLOTestAssignments.php.
References $DIC, $ilDB, $objectives, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilTestLP\resetCustomLPDataForUserIds().
|
protected |
Definition at line 211 of file class.ilLOTestAssignments.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, and getContainerId().
Referenced by __construct().
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().
|
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().