|
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 ilLOTestRun:Public Member Functions | |
| __construct (int $a_crs_id, int $a_user_id, int $a_test_id, int $a_objective_id) | |
| getContainerId () | |
| getUserId () | |
| getTestId () | |
| getObjectiveId () | |
| getMaxPoints () | |
| setMaxPoints (int $a_points) | |
| getQuestions () | |
| clearQuestions () | |
| addQuestion (int $a_id) | |
| questionExists (int $a_question_id) | |
| setQuestionResult (int $a_qst_id, float $a_points) | |
| getResult () | |
| delete () | |
| create () | |
| update () | |
| read () | |
Static Public Member Functions | |
| static | lookupRunExistsForObjective (int $a_test_id, int $a_objective_id, int $a_user_id) |
| static | deleteRuns (int $a_container_id, int $a_user_id) |
| static | deleteRun (int $a_container_id, int $a_user_id, int $a_test_id) |
| static | lookupObjectives (int $a_container_id, int $a_user_id, int $a_test_id) |
| static | getRun (int $a_container_id, int $a_user_id, int $a_test_id) |
Protected Attributes | |
| int | $container_id = 0 |
| int | $user_id = 0 |
| int | $test_id = 0 |
| int | $objective_id = 0 |
| int | $max_points = 0 |
| array | $questions = array() |
| ilDBInterface | $db |
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 Stores current objective, questions and max points
Definition at line 23 of file class.ilLOTestRun.php.
| ilLOTestRun::__construct | ( | int | $a_crs_id, |
| int | $a_user_id, | ||
| int | $a_test_id, | ||
| int | $a_objective_id | ||
| ) |
Definition at line 34 of file class.ilLOTestRun.php.
Here is the call graph for this function:| ilLOTestRun::addQuestion | ( | int | $a_id | ) |
Definition at line 165 of file class.ilLOTestRun.php.
| ilLOTestRun::clearQuestions | ( | ) |
Definition at line 160 of file class.ilLOTestRun.php.
| ilLOTestRun::create | ( | ) |
Definition at line 209 of file class.ilLOTestRun.php.
References $query, getContainerId(), getMaxPoints(), getObjectiveId(), getQuestions(), getTestId(), and getUserId().
Here is the call graph for this function:| ilLOTestRun::delete | ( | ) |
Definition at line 199 of file class.ilLOTestRun.php.
References $query, and getContainerId().
Here is the call graph for this function:
|
static |
Definition at line 75 of file class.ilLOTestRun.php.
References $DIC, $ilDB, and $query.
Referenced by ilLOTestQuestionAdapter\notifyTestStart().
Here is the caller graph for this function:
|
static |
Definition at line 64 of file class.ilLOTestRun.php.
References $DIC, $ilDB, and $query.
Referenced by ilObjCourseGUI\resetObject().
Here is the caller graph for this function:| ilLOTestRun::getContainerId | ( | ) |
Definition at line 125 of file class.ilLOTestRun.php.
References $container_id.
Referenced by create(), delete(), and read().
Here is the caller graph for this function:| ilLOTestRun::getMaxPoints | ( | ) |
Definition at line 145 of file class.ilLOTestRun.php.
References $max_points.
Referenced by create(), getResult(), and update().
Here is the caller graph for this function:| ilLOTestRun::getObjectiveId | ( | ) |
Definition at line 140 of file class.ilLOTestRun.php.
References $objective_id.
Referenced by create(), ilTestResultHeaderLabelBuilder\getObjectiveTitle(), read(), and update().
Here is the caller graph for this function:| ilLOTestRun::getQuestions | ( | ) |
Definition at line 155 of file class.ilLOTestRun.php.
References $questions.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLOTestRun::getResult | ( | ) |
Definition at line 180 of file class.ilLOTestRun.php.
References getMaxPoints().
Here is the call graph for this function:
|
static |
Definition at line 107 of file class.ilLOTestRun.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilTestResultHeaderLabelBuilder\initObjectives(), and ilLOTestQuestionAdapter\initTestRun().
Here is the caller graph for this function:| ilLOTestRun::getTestId | ( | ) |
| ilLOTestRun::getUserId | ( | ) |
|
static |
Definition at line 87 of file class.ilLOTestRun.php.
References $DIC, $ilDB, $objectives, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 48 of file class.ilLOTestRun.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilContainerObjectiveGUI\updateResult().
Here is the caller graph for this function:| ilLOTestRun::questionExists | ( | int | $a_question_id | ) |
Definition at line 170 of file class.ilLOTestRun.php.
| ilLOTestRun::read | ( | ) |
Definition at line 236 of file class.ilLOTestRun.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, getContainerId(), getObjectiveId(), getTestId(), and getUserId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLOTestRun::setMaxPoints | ( | int | $a_points | ) |
Definition at line 150 of file class.ilLOTestRun.php.
| ilLOTestRun::setQuestionResult | ( | int | $a_qst_id, |
| float | $a_points | ||
| ) |
Definition at line 175 of file class.ilLOTestRun.php.
| ilLOTestRun::update | ( | ) |
Definition at line 224 of file class.ilLOTestRun.php.
References $query, getMaxPoints(), getObjectiveId(), getQuestions(), getTestId(), and getUserId().
Here is the call graph for this function:
|
protected |
Definition at line 25 of file class.ilLOTestRun.php.
Referenced by getContainerId().
|
protected |
Definition at line 32 of file class.ilLOTestRun.php.
|
protected |
Definition at line 29 of file class.ilLOTestRun.php.
Referenced by getMaxPoints().
|
protected |
Definition at line 28 of file class.ilLOTestRun.php.
Referenced by getObjectiveId().
|
protected |
Definition at line 30 of file class.ilLOTestRun.php.
Referenced by getQuestions().
|
protected |
Definition at line 27 of file class.ilLOTestRun.php.
Referenced by getTestId().
|
protected |
Definition at line 26 of file class.ilLOTestRun.php.
Referenced by getUserId().