ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 () | |
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 | deleteForObjectiveAndTestType ($a_course_id, $a_objective_id, $a_tst_type) |
Delete assignment for objective id and test type. 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 212 of file class.ilLORandomTestQuestionPools.php.
References PHPMailer\PHPMailer\$options, ilObject\_getAllReferences(), ilCopyWizardOptions\_getInstance(), getContainerId(), getLimit(), ilLoggerFactory\getLogger(), getQplSequence(), getTestId(), getTestType(), read(), and setQplSequence().
ilLORandomTestQuestionPools::create | ( | ) |
Definition at line 317 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $query, getContainerId(), getLimit(), getObjectiveId(), getQplSequence(), getTestId(), and getTestType().
ilLORandomTestQuestionPools::delete | ( | ) |
Definition at line 285 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $query, getContainerId(), getObjectiveId(), getQplSequence(), and getTestType().
|
static |
Delete assignment for objective id and test type.
int | $a_course_id | |
int | $a_objective_id | |
int | $a_tst_type |
Definition at line 306 of file class.ilLORandomTestQuestionPools.php.
References $GLOBALS, and $query.
Referenced by ilCourseObjectivesGUI\saveRandom().
ilLORandomTestQuestionPools::getContainerId | ( | ) |
Definition at line 152 of file class.ilLORandomTestQuestionPools.php.
References $container_id.
Referenced by copy(), create(), delete(), and read().
ilLORandomTestQuestionPools::getLimit | ( | ) |
Definition at line 202 of file class.ilLORandomTestQuestionPools.php.
References $limit.
Referenced by copy(), and create().
ilLORandomTestQuestionPools::getObjectiveId | ( | ) |
Definition at line 162 of file class.ilLORandomTestQuestionPools.php.
References $objective_id.
Referenced by create(), delete(), and read().
ilLORandomTestQuestionPools::getQplSequence | ( | ) |
ilLORandomTestQuestionPools::getTestId | ( | ) |
Definition at line 182 of file class.ilLORandomTestQuestionPools.php.
References $test_id.
Referenced by copy(), and create().
ilLORandomTestQuestionPools::getTestType | ( | ) |
Definition at line 172 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 $DIC, $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 129 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $query, $res, $row, 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 73 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $query, $res, $row, 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 101 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCourseObjectivesGUI\initFormRandom(), ilCourseObjectivesTableGUI\parse(), and ilLOTestQuestionAdapter\updateRandomQuestions().
ilLORandomTestQuestionPools::read | ( | ) |
read settings type $ilDB
Definition at line 265 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $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 147 of file class.ilLORandomTestQuestionPools.php.
ilLORandomTestQuestionPools::setLimit | ( | $a_id | ) |
Definition at line 197 of file class.ilLORandomTestQuestionPools.php.
Referenced by read().
ilLORandomTestQuestionPools::setObjectiveId | ( | $a_id | ) |
Definition at line 157 of file class.ilLORandomTestQuestionPools.php.
ilLORandomTestQuestionPools::setQplSequence | ( | $a_id | ) |
Definition at line 187 of file class.ilLORandomTestQuestionPools.php.
Referenced by copy().
ilLORandomTestQuestionPools::setTestId | ( | $a_id | ) |
Definition at line 177 of file class.ilLORandomTestQuestionPools.php.
Referenced by read().
ilLORandomTestQuestionPools::setTestType | ( | $a_type | ) |
Definition at line 167 of file class.ilLORandomTestQuestionPools.php.
References $a_type.
|
static |
Definition at line 337 of file class.ilLORandomTestQuestionPools.php.
References $DIC, $ilDB, $query, $res, $row, 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().