ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilLOEditorGUI. More...
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 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 type $ilDB More... | |
static | lookupSequences ($a_container_id, $a_objective_id, $a_test_id) |
Lookup sequence ids type $ilDB. More... | |
static | lookupSequencesByType ($a_container_id, $a_objective_id, $a_test_id, $a_test_type) |
Lookup sequence ids type $ilDB. More... | |
static | lookupObjectiveIdsBySequence ($a_container_id, $a_seq_id) |
Lookup objective ids by sequence_id 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().
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(), array, getContainerId(), getLimit(), ilLoggerFactory\getLogger(), getQplSequence(), getTestId(), getTestType(), read(), and setQplSequence().
ilLORandomTestQuestionPools::create | ( | ) |
Definition at line 304 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, getContainerId(), getLimit(), getObjectiveId(), getQplSequence(), getTestId(), and getTestType().
ilLORandomTestQuestionPools::delete | ( | ) |
Definition at line 275 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, getContainerId(), getObjectiveId(), getQplSequence(), and getTestType().
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().
ilLORandomTestQuestionPools::getContainerId | ( | ) |
Definition at line 144 of file class.ilLORandomTestQuestionPools.php.
References $container_id.
Referenced by copy(), create(), delete(), and read().
ilLORandomTestQuestionPools::getLimit | ( | ) |
Definition at line 194 of file class.ilLORandomTestQuestionPools.php.
References $limit.
Referenced by copy(), and create().
ilLORandomTestQuestionPools::getObjectiveId | ( | ) |
Definition at line 154 of file class.ilLORandomTestQuestionPools.php.
References $objective_id.
Referenced by create(), delete(), and read().
ilLORandomTestQuestionPools::getQplSequence | ( | ) |
ilLORandomTestQuestionPools::getTestId | ( | ) |
Definition at line 174 of file class.ilLORandomTestQuestionPools.php.
References $test_id.
Referenced by copy(), and create().
ilLORandomTestQuestionPools::getTestType | ( | ) |
Definition at line 164 of file class.ilLORandomTestQuestionPools.php.
References $test_type.
Referenced by copy(), create(), delete(), and read().
|
static |
lookup limit 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().
|
static |
Lookup objective ids by sequence_id type $ilDB.
int | $a_container_id | |
int | $a_seq_id |
Definition at line 123 of file class.ilLORandomTestQuestionPools.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOTestQuestionAdapter\lookupObjectiveIdByRandomQuestionSelectionDefinitionId().
|
static |
Lookup sequence ids 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, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilLOEditorStatus\lookupQuestionsAssigned().
|
static |
Lookup sequence ids 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, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCourseObjectivesGUI\initFormRandom(), ilCourseObjectivesTableGUI\parse(), and ilLOTestQuestionAdapter\updateRandomQuestions().
ilLORandomTestQuestionPools::read | ( | ) |
read settings 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().
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().
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().
ilLORandomTestQuestionPools::setTestId | ( | $a_id | ) |
Definition at line 169 of file class.ilLORandomTestQuestionPools.php.
Referenced by read().
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, 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().