|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Stores current objective, questions and max points. More...
Collaboration diagram for ilLOTestRun:Public Member Functions | |
| __construct ($a_crs_id, $a_user_id, $a_test_id, $a_objective_id) | |
| getContainerId () | |
| getUserId () | |
| getTestId () | |
| getObjectiveId () | |
| getMaxPoints () | |
| setMaxPoints ($a_points) | |
| getQuestions () | |
| clearQuestions () | |
| addQuestion ($a_id) | |
| questionExists ($a_question_id) | |
| setQuestionResult ($a_qst_id, $a_points) | |
| getResult () | |
| Get result for objective run. More... | |
| delete () | |
| Delete all entries @global type $ilDB. More... | |
| create () | |
| update () | |
| read () | |
| @global type $ilDB More... | |
Static Public Member Functions | |
| static | lookupRunExistsForObjective ($a_test_id, $a_objective_id, $a_user_id) |
| @global type $ilDB More... | |
| static | deleteRuns ($a_container_id, $a_user_id) |
| Delete runs @global type $ilDB. More... | |
| static | deleteRun ($a_container_id, $a_user_id, $a_test_id) |
| static | lookupObjectives ($a_container_id, $a_user_id, $a_test_id) |
| static | getRun ($a_container_id, $a_user_id, $a_test_id) |
Protected Attributes | |
| $container_id = 0 | |
| $user_id = 0 | |
| $test_id = 0 | |
| $objective_id = 0 | |
| $max_points = 0 | |
| $questions = array() | |
Stores current objective, questions and max points.
Definition at line 10 of file class.ilLOTestRun.php.
| ilLOTestRun::__construct | ( | $a_crs_id, | |
| $a_user_id, | |||
| $a_test_id, | |||
| $a_objective_id | |||
| ) |
Definition at line 21 of file class.ilLOTestRun.php.
References read().
Here is the call graph for this function:| ilLOTestRun::addQuestion | ( | $a_id | ) |
Definition at line 164 of file class.ilLOTestRun.php.
| ilLOTestRun::clearQuestions | ( | ) |
Definition at line 159 of file class.ilLOTestRun.php.
| ilLOTestRun::create | ( | ) |
Definition at line 226 of file class.ilLOTestRun.php.
References $ilDB, $query, getContainerId(), getMaxPoints(), getObjectiveId(), getQuestions(), getTestId(), and getUserId().
Here is the call graph for this function:| ilLOTestRun::delete | ( | ) |
Delete all entries @global type $ilDB.
Definition at line 214 of file class.ilLOTestRun.php.
References $ilDB, $query, and getContainerId().
Here is the call graph for this function:
|
static |
Definition at line 73 of file class.ilLOTestRun.php.
Referenced by ilLOTestQuestionAdapter\notifyTestStart().
Here is the caller graph for this function:
|
static |
Delete runs @global type $ilDB.
| type | $a_container_id | |
| type | $a_user_id |
Definition at line 62 of file class.ilLOTestRun.php.
Referenced by ilObjCourseGUI\resetObject().
Here is the caller graph for this function:| ilLOTestRun::getContainerId | ( | ) |
Definition at line 124 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 144 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 139 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 154 of file class.ilLOTestRun.php.
References $questions.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLOTestRun::getResult | ( | ) |
Get result for objective run.
Definition at line 189 of file class.ilLOTestRun.php.
References getMaxPoints().
Here is the call graph for this function:
|
static |
Definition at line 106 of file class.ilLOTestRun.php.
References $ilDB, $query, $res, $row, and DB_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 84 of file class.ilLOTestRun.php.
References $GLOBALS, $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilLOUtils\hasActiveRun().
Here is the caller graph for this function:
|
static |
@global type $ilDB
| type | $a_test_obj_id | |
| type | $a_objective_id | |
| type | $a_user_id |
Definition at line 39 of file class.ilLOTestRun.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilContainerObjectiveGUI\updateResult().
Here is the caller graph for this function:| ilLOTestRun::questionExists | ( | $a_question_id | ) |
Definition at line 169 of file class.ilLOTestRun.php.
| ilLOTestRun::read | ( | ) |
@global type $ilDB
Definition at line 261 of file class.ilLOTestRun.php.
References $ilDB, $query, $res, $row, DB_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 | ( | $a_points | ) |
Definition at line 149 of file class.ilLOTestRun.php.
| ilLOTestRun::setQuestionResult | ( | $a_qst_id, | |
| $a_points | |||
| ) |
Definition at line 174 of file class.ilLOTestRun.php.
References $GLOBALS.
| ilLOTestRun::update | ( | ) |
Definition at line 243 of file class.ilLOTestRun.php.
References $ilDB, $query, getMaxPoints(), getObjectiveId(), getQuestions(), getTestId(), and getUserId().
Here is the call graph for this function:
|
protected |
Definition at line 12 of file class.ilLOTestRun.php.
Referenced by getContainerId().
|
protected |
Definition at line 17 of file class.ilLOTestRun.php.
Referenced by getMaxPoints().
|
protected |
Definition at line 15 of file class.ilLOTestRun.php.
Referenced by getObjectiveId().
|
protected |
Definition at line 18 of file class.ilLOTestRun.php.
Referenced by getQuestions().
|
protected |
Definition at line 14 of file class.ilLOTestRun.php.
Referenced by getTestId().
|
protected |
Definition at line 13 of file class.ilLOTestRun.php.
Referenced by getUserId().