ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
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_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 | ||
) |
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 getContainerId(), getMaxPoints(), getObjectiveId(), getQuestions(), getTestId(), and getUserId().
Referenced by ilLOTestQuestionAdapter\notifyTestStart().
ilLOTestRun::delete | ( | ) |
Definition at line 199 of file class.ilLOTestRun.php.
References getContainerId(), getObjectiveId(), getTestId(), and getUserId().
|
static |
Definition at line 75 of file class.ilLOTestRun.php.
Referenced by ilLOTestQuestionAdapter\notifyTestStart().
|
static |
Definition at line 64 of file class.ilLOTestRun.php.
Referenced by ilObjCourseGUI\resetObject().
ilLOTestRun::getContainerId | ( | ) |
Definition at line 125 of file class.ilLOTestRun.php.
References $container_id.
Referenced by create(), delete(), and read().
ilLOTestRun::getMaxPoints | ( | ) |
Definition at line 145 of file class.ilLOTestRun.php.
References $max_points.
Referenced by create(), getResult(), and update().
ilLOTestRun::getObjectiveId | ( | ) |
Definition at line 140 of file class.ilLOTestRun.php.
References $objective_id.
Referenced by create(), delete(), ILIAS\Test\Results\Presentation\TitlesBuilder\getObjectiveTitle(), read(), and update().
ilLOTestRun::getQuestions | ( | ) |
Definition at line 155 of file class.ilLOTestRun.php.
References $questions.
Referenced by create(), and update().
ilLOTestRun::getResult | ( | ) |
Definition at line 180 of file class.ilLOTestRun.php.
References getMaxPoints().
|
static |
Definition at line 107 of file class.ilLOTestRun.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ILIAS\Test\Results\Presentation\TitlesBuilder\initObjectives(), and ilLOTestQuestionAdapter\initTestRun().
ilLOTestRun::getTestId | ( | ) |
ilLOTestRun::getUserId | ( | ) |
|
static |
Definition at line 87 of file class.ilLOTestRun.php.
References $DIC, $ilDB, $objectives, $res, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 48 of file class.ilLOTestRun.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
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 $res, ilDBConstants\FETCHMODE_OBJECT, getContainerId(), getObjectiveId(), getTestId(), and getUserId().
Referenced by __construct().
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 getMaxPoints(), getObjectiveId(), getQuestions(), getTestId(), and getUserId().
|
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().