ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilLOEditorGUI. More...
Public Member Functions | |
__construct ($a_container_id, $a_objective_id, $a_test_type) | |
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 () | |
delete () | |
create () | |
Static Public Member Functions | |
static | lookupLimit ($a_container_id, $a_objective_id, $a_test_type) |
static | lookupSequence ($a_container_id, $a_objective_id, $a_test_id) |
static | lookupObjectiveIdsBySequence ($a_container_id, $a_seq_id) |
Lookup objective id by sequence. 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 | |||
) |
Constructor.
type | $a_container_id | |
type | $a_objective_id |
Definition at line 30 of file class.ilLORandomTestQuestionPools.php.
References read().
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 157 of file class.ilLORandomTestQuestionPools.php.
References $options, $ref_id, ilObject\_getAllReferences(), ilCopyWizardOptions\_getInstance(), array, getLimit(), ilLoggerFactory\getLogger(), getQplSequence(), getTestId(), and getTestType().
ilLORandomTestQuestionPools::create | ( | ) |
Definition at line 235 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, getContainerId(), getLimit(), getObjectiveId(), getQplSequence(), getTestId(), and getTestType().
ilLORandomTestQuestionPools::delete | ( | ) |
Definition at line 224 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, getContainerId(), getObjectiveId(), and getTestType().
ilLORandomTestQuestionPools::getContainerId | ( | ) |
Definition at line 97 of file class.ilLORandomTestQuestionPools.php.
References $container_id.
Referenced by create(), delete(), and read().
ilLORandomTestQuestionPools::getLimit | ( | ) |
Definition at line 147 of file class.ilLORandomTestQuestionPools.php.
References $limit.
Referenced by copy(), and create().
ilLORandomTestQuestionPools::getObjectiveId | ( | ) |
Definition at line 107 of file class.ilLORandomTestQuestionPools.php.
References $objective_id.
Referenced by create(), delete(), and read().
ilLORandomTestQuestionPools::getQplSequence | ( | ) |
Definition at line 137 of file class.ilLORandomTestQuestionPools.php.
References $qpl_seq.
Referenced by copy(), and create().
ilLORandomTestQuestionPools::getTestId | ( | ) |
Definition at line 127 of file class.ilLORandomTestQuestionPools.php.
References $test_id.
Referenced by copy(), and create().
ilLORandomTestQuestionPools::getTestType | ( | ) |
Definition at line 117 of file class.ilLORandomTestQuestionPools.php.
References $test_type.
Referenced by copy(), create(), delete(), and read().
|
static |
Definition at line 39 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOUtils\lookupObjectiveRequiredPercentage().
|
static |
Lookup objective id by sequence.
Definition at line 75 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOTestQuestionAdapter\lookupObjectiveIdByRandomQuestionSelectionDefinitionId().
|
static |
Definition at line 55 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOEditorStatus\lookupQuestionsAssigned().
ilLORandomTestQuestionPools::read | ( | ) |
Definition at line 205 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, getContainerId(), getObjectiveId(), getTestType(), setLimit(), setQplSequence(), and setTestId().
Referenced by __construct().
ilLORandomTestQuestionPools::setContainerId | ( | $a_id | ) |
Definition at line 92 of file class.ilLORandomTestQuestionPools.php.
ilLORandomTestQuestionPools::setLimit | ( | $a_id | ) |
Definition at line 142 of file class.ilLORandomTestQuestionPools.php.
Referenced by read().
ilLORandomTestQuestionPools::setObjectiveId | ( | $a_id | ) |
Definition at line 102 of file class.ilLORandomTestQuestionPools.php.
ilLORandomTestQuestionPools::setQplSequence | ( | $a_id | ) |
Definition at line 132 of file class.ilLORandomTestQuestionPools.php.
Referenced by read().
ilLORandomTestQuestionPools::setTestId | ( | $a_id | ) |
Definition at line 122 of file class.ilLORandomTestQuestionPools.php.
Referenced by ilLOXmlParser\parseTests(), and read().
ilLORandomTestQuestionPools::setTestType | ( | $a_type | ) |
Definition at line 112 of file class.ilLORandomTestQuestionPools.php.
References $a_type.
|
static |
Definition at line 253 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, array, ilDBConstants\FETCHMODE_OBJECT, ilLOXmlWriter\TYPE_TST_RND, and ilXmlWriter\xmlElement().
Referenced by ilCourseObjective\toXml().
|
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().