|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilLOEditorGUI. More...
Collaboration diagram for ilLORandomTestQuestionPools:Public Member Functions | |
| __construct ($a_container_id, $a_objective_id, $a_test_type, $a_qpl_sequence) | |
| Constructor. More... | |
| setContainerId ($a_id) | |
| getContainerId () | |
| setObjectiveId ($a_id) | |
| getObjectiveId () | |
| setTestType ($a_type) | |
| getTestType () | |
| setTestId ($a_id) | |
| getTestId () | |
| setQplSequence ($a_id) | |
| getQplSequence () | |
| setLimit ($a_id) | |
| getLimit () | |
| copy ($a_copy_id, $a_new_course_id, $a_new_objective_id) | |
| Copy assignment. More... | |
| read () | |
| read settings @global type $ilDB More... | |
| delete () | |
| deleteForObjectiveAndTestType ($a_course_id, $a_objective_id, $a_tst_type) | |
| Delete assignment for objective id and test type. More... | |
| create () | |
Static Public Member Functions | |
| static | lookupLimit ($a_container_id, $a_objective_id, $a_test_type) |
| lookup limit @global type $ilDB More... | |
| static | lookupSequences ($a_container_id, $a_objective_id, $a_test_id) |
| Lookup sequence ids @global type $ilDB. More... | |
| static | lookupSequencesByType ($a_container_id, $a_objective_id, $a_test_id, $a_test_type) |
| Lookup sequence ids @global type $ilDB. More... | |
| static | lookupObjectiveIdsBySequence ($a_container_id, $a_seq_id) |
| Lookup objective ids by sequence_id @global type $ilDB. More... | |
| static | toXml (ilXmlWriter $writer, $a_objective_id) |
Protected Attributes | |
| $container_id = 0 | |
| $objective_id = 0 | |
| $test_type = 0 | |
| $test_id = 0 | |
| $qpl_seq = 0 | |
| $limit = 50 | |
Class ilLOEditorGUI.
Definition at line 15 of file class.ilLORandomTestQuestionPools.php.
| ilLORandomTestQuestionPools::__construct | ( | $a_container_id, | |
| $a_objective_id, | |||
| $a_test_type, | |||
| $a_qpl_sequence | |||
| ) |
Constructor.
| type | $a_container_id | |
| type | $a_objective_id |
Definition at line 30 of file class.ilLORandomTestQuestionPools.php.
References read().
Here is the call graph for this function:| ilLORandomTestQuestionPools::copy | ( | $a_copy_id, | |
| $a_new_course_id, | |||
| $a_new_objective_id | |||
| ) |
Copy assignment.
| type | $a_copy_id | |
| type | $a_new_objective_id |
Definition at line 204 of file class.ilLORandomTestQuestionPools.php.
References $options, ilObject\_getAllReferences(), ilCopyWizardOptions\_getInstance(), getContainerId(), getLimit(), ilLoggerFactory\getLogger(), getQplSequence(), getTestId(), getTestType(), read(), and setQplSequence().
Here is the call graph for this function:| ilLORandomTestQuestionPools::create | ( | ) |
Definition at line 304 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, getContainerId(), getLimit(), getObjectiveId(), getQplSequence(), getTestId(), and getTestType().
Here is the call graph for this function:| ilLORandomTestQuestionPools::delete | ( | ) |
Definition at line 275 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, and getContainerId().
Here is the call graph for this function:| ilLORandomTestQuestionPools::deleteForObjectiveAndTestType | ( | $a_course_id, | |
| $a_objective_id, | |||
| $a_tst_type | |||
| ) |
Delete assignment for objective id and test type.
| int | $a_course_id | |
| int | $a_objective_id | |
| int | $a_tst_type |
Definition at line 293 of file class.ilLORandomTestQuestionPools.php.
References $GLOBALS, and $query.
Referenced by ilCourseObjectivesGUI\saveRandom().
Here is the caller graph for this function:| ilLORandomTestQuestionPools::getContainerId | ( | ) |
Definition at line 144 of file class.ilLORandomTestQuestionPools.php.
References $container_id.
Referenced by copy(), create(), delete(), and read().
Here is the caller graph for this function:| ilLORandomTestQuestionPools::getLimit | ( | ) |
Definition at line 194 of file class.ilLORandomTestQuestionPools.php.
References $limit.
Referenced by copy(), and create().
Here is the caller graph for this function:| ilLORandomTestQuestionPools::getObjectiveId | ( | ) |
Definition at line 154 of file class.ilLORandomTestQuestionPools.php.
References $objective_id.
Referenced by create(), and read().
Here is the caller graph for this function:| ilLORandomTestQuestionPools::getQplSequence | ( | ) |
| ilLORandomTestQuestionPools::getTestId | ( | ) |
Definition at line 174 of file class.ilLORandomTestQuestionPools.php.
References $test_id.
Referenced by copy(), and create().
Here is the caller graph for this function:| ilLORandomTestQuestionPools::getTestType | ( | ) |
Definition at line 164 of file class.ilLORandomTestQuestionPools.php.
References $test_type.
Referenced by copy(), create(), and read().
Here is the caller graph for this function:
|
static |
lookup limit @global type $ilDB
| int | $a_container_id | |
| int | $a_objective_id | |
| int | $a_test_type |
Definition at line 48 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCourseObjectivesGUI\initFormRandom(), and ilLOUtils\lookupObjectiveRequiredPercentage().
Here is the caller graph for this function:
|
static |
Lookup objective ids by sequence_id @global type $ilDB.
| int | $a_container_id | |
| int | $a_seq_id |
Definition at line 123 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOTestQuestionAdapter\lookupObjectiveIdByRandomQuestionSelectionDefinitionId().
Here is the caller graph for this function:
|
static |
Lookup sequence ids @global type $ilDB.
| int | $a_container_id | |
| int | $a_objective_id | |
| int | $a_test_id |
Definition at line 71 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOEditorStatus\lookupQuestionsAssigned().
Here is the caller graph for this function:
|
static |
Lookup sequence ids @global type $ilDB.
| int | $a_container_id | |
| int | $a_objective_id | |
| int | $a_test_id | |
| int | $a_test_type |
Definition at line 97 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCourseObjectivesGUI\initFormRandom(), ilCourseObjectivesTableGUI\parse(), and ilLOTestQuestionAdapter\updateRandomQuestions().
Here is the caller graph for this function:| ilLORandomTestQuestionPools::read | ( | ) |
read settings @global type $ilDB
Definition at line 257 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, getContainerId(), getObjectiveId(), getQplSequence(), getTestType(), setLimit(), and setTestId().
Referenced by __construct(), and copy().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLORandomTestQuestionPools::setContainerId | ( | $a_id | ) |
Definition at line 139 of file class.ilLORandomTestQuestionPools.php.
| ilLORandomTestQuestionPools::setLimit | ( | $a_id | ) |
Definition at line 189 of file class.ilLORandomTestQuestionPools.php.
Referenced by read().
Here is the caller graph for this function:| ilLORandomTestQuestionPools::setObjectiveId | ( | $a_id | ) |
Definition at line 149 of file class.ilLORandomTestQuestionPools.php.
| ilLORandomTestQuestionPools::setQplSequence | ( | $a_id | ) |
Definition at line 179 of file class.ilLORandomTestQuestionPools.php.
Referenced by copy().
Here is the caller graph for this function:| ilLORandomTestQuestionPools::setTestId | ( | $a_id | ) |
Definition at line 169 of file class.ilLORandomTestQuestionPools.php.
Referenced by read().
Here is the caller graph for this function:| ilLORandomTestQuestionPools::setTestType | ( | $a_type | ) |
Definition at line 159 of file class.ilLORandomTestQuestionPools.php.
References $a_type.
|
static |
Definition at line 322 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, ilLOXmlWriter\TYPE_TST_RND, and ilXmlWriter\xmlElement().
Referenced by ilCourseObjective\toXml().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 17 of file class.ilLORandomTestQuestionPools.php.
Referenced by getContainerId().
|
protected |
Definition at line 22 of file class.ilLORandomTestQuestionPools.php.
Referenced by getLimit().
|
protected |
Definition at line 18 of file class.ilLORandomTestQuestionPools.php.
Referenced by getObjectiveId().
|
protected |
Definition at line 21 of file class.ilLORandomTestQuestionPools.php.
Referenced by getQplSequence().
|
protected |
Definition at line 20 of file class.ilLORandomTestQuestionPools.php.
Referenced by getTestId().
|
protected |
Definition at line 19 of file class.ilLORandomTestQuestionPools.php.
Referenced by getTestType().