ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Class ilLOEditorGUI. More...
Public Member Functions | |
__construct (int $a_container_id, int $a_objective_id, int $a_test_type, int $a_qpl_sequence) | |
setContainerId (int $a_id) | |
getContainerId () | |
setObjectiveId (int $a_id) | |
getObjectiveId () | |
setTestType (int $a_type) | |
getTestType () | |
setTestId (int $a_id) | |
getTestId () | |
setQplSequence (int $a_id) | |
getQplSequence () | |
setLimit (int $a_id) | |
getLimit () | |
copy (int $a_copy_id, int $a_new_course_id, int $a_new_objective_id) | |
read () | |
delete () | |
create () | |
Static Public Member Functions | |
static | lookupLimit (int $a_container_id, int $a_objective_id, int $a_test_type) |
static | lookupSequences (int $a_container_id, int $a_objective_id, int $a_test_id) |
static | lookupSequencesByType (int $a_container_id, int $a_objective_id, int $a_test_id, int $a_test_type) |
static | lookupObjectiveIdsBySequence (int $a_container_id, int $a_seq_id) |
static | deleteForObjectiveAndTestType (int $a_course_id, int $a_objective_id, int $a_tst_type) |
static | toXml (ilXmlWriter $writer, int $a_objective_id) |
Protected Attributes | |
int | $container_id = 0 |
int | $objective_id = 0 |
int | $test_type = 0 |
int | $test_id = 0 |
int | $qpl_seq = 0 |
int | $limit = 50 |
ilDBInterface | $db |
Class ilLOEditorGUI.
Definition at line 25 of file class.ilLORandomTestQuestionPools.php.
ilLORandomTestQuestionPools::__construct | ( | int | $a_container_id, |
int | $a_objective_id, | ||
int | $a_test_type, | ||
int | $a_qpl_sequence | ||
) |
Definition at line 36 of file class.ilLORandomTestQuestionPools.php.
ilLORandomTestQuestionPools::copy | ( | int | $a_copy_id, |
int | $a_new_course_id, | ||
int | $a_new_objective_id | ||
) |
Definition at line 183 of file class.ilLORandomTestQuestionPools.php.
References $ref_id, ilObject\_getAllReferences(), ilCopyWizardOptions\_getInstance(), getContainerId(), getLimit(), ilLoggerFactory\getLogger(), getQplSequence(), getTestId(), getTestType(), read(), and setQplSequence().
ilLORandomTestQuestionPools::create | ( | ) |
Definition at line 268 of file class.ilLORandomTestQuestionPools.php.
References getContainerId(), getLimit(), getObjectiveId(), getQplSequence(), getTestId(), getTestType(), and ilDBConstants\T_INTEGER.
ilLORandomTestQuestionPools::delete | ( | ) |
Definition at line 247 of file class.ilLORandomTestQuestionPools.php.
References getContainerId(), getObjectiveId(), getQplSequence(), and getTestType().
|
static |
Definition at line 257 of file class.ilLORandomTestQuestionPools.php.
References $GLOBALS, ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilCourseObjectivesGUI\saveRandom().
ilLORandomTestQuestionPools::getContainerId | ( | ) |
Definition at line 128 of file class.ilLORandomTestQuestionPools.php.
References $container_id.
Referenced by copy(), create(), delete(), and read().
ilLORandomTestQuestionPools::getLimit | ( | ) |
Definition at line 178 of file class.ilLORandomTestQuestionPools.php.
References $limit.
Referenced by copy(), and create().
ilLORandomTestQuestionPools::getObjectiveId | ( | ) |
Definition at line 138 of file class.ilLORandomTestQuestionPools.php.
References $objective_id.
Referenced by create(), delete(), and read().
ilLORandomTestQuestionPools::getQplSequence | ( | ) |
Definition at line 168 of file class.ilLORandomTestQuestionPools.php.
References $qpl_seq.
Referenced by copy(), create(), delete(), and read().
ilLORandomTestQuestionPools::getTestId | ( | ) |
Definition at line 158 of file class.ilLORandomTestQuestionPools.php.
References $test_id.
Referenced by copy(), and create().
ilLORandomTestQuestionPools::getTestType | ( | ) |
Definition at line 148 of file class.ilLORandomTestQuestionPools.php.
References $test_type.
Referenced by copy(), create(), delete(), and read().
|
static |
Definition at line 50 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCourseObjectivesGUI\initFormRandom(), and ilLOUtils\lookupObjectiveRequiredPercentage().
|
static |
Definition at line 107 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOTestQuestionAdapter\lookupObjectiveIdByRandomQuestionSelectionDefinitionId().
|
static |
Definition at line 66 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOEditorStatus\lookupQuestionsAssigned().
|
static |
Definition at line 84 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ilCourseObjectivesGUI\initFormRandom(), ilCourseObjectivesTableGUI\parse(), and ilLOTestQuestionAdapter\updateRandomQuestions().
ilLORandomTestQuestionPools::read | ( | ) |
Definition at line 232 of file class.ilLORandomTestQuestionPools.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, getContainerId(), getObjectiveId(), getQplSequence(), getTestType(), setLimit(), and setTestId().
Referenced by __construct(), and copy().
ilLORandomTestQuestionPools::setContainerId | ( | int | $a_id | ) |
Definition at line 123 of file class.ilLORandomTestQuestionPools.php.
ilLORandomTestQuestionPools::setLimit | ( | int | $a_id | ) |
Definition at line 173 of file class.ilLORandomTestQuestionPools.php.
Referenced by read(), and ilCourseObjectivesGUI\saveRandom().
ilLORandomTestQuestionPools::setObjectiveId | ( | int | $a_id | ) |
Definition at line 133 of file class.ilLORandomTestQuestionPools.php.
ilLORandomTestQuestionPools::setQplSequence | ( | int | $a_id | ) |
Definition at line 163 of file class.ilLORandomTestQuestionPools.php.
Referenced by copy().
ilLORandomTestQuestionPools::setTestId | ( | int | $a_id | ) |
Definition at line 153 of file class.ilLORandomTestQuestionPools.php.
Referenced by ilLOXmlParser\parseTests(), and read().
ilLORandomTestQuestionPools::setTestType | ( | int | $a_type | ) |
Definition at line 143 of file class.ilLORandomTestQuestionPools.php.
|
static |
Definition at line 283 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, ilLOXmlWriter\TYPE_TST_RND, and ilXmlWriter\xmlElement().
Referenced by ilCourseObjective\toXml().
|
protected |
Definition at line 27 of file class.ilLORandomTestQuestionPools.php.
Referenced by getContainerId().
|
protected |
Definition at line 34 of file class.ilLORandomTestQuestionPools.php.
|
protected |
Definition at line 32 of file class.ilLORandomTestQuestionPools.php.
Referenced by getLimit().
|
protected |
Definition at line 28 of file class.ilLORandomTestQuestionPools.php.
Referenced by getObjectiveId().
|
protected |
Definition at line 31 of file class.ilLORandomTestQuestionPools.php.
Referenced by getQplSequence().
|
protected |
Definition at line 30 of file class.ilLORandomTestQuestionPools.php.
Referenced by getTestId().
|
protected |
Definition at line 29 of file class.ilLORandomTestQuestionPools.php.
Referenced by getTestType().