66 array(
'name' =>
'qpl_questions',
'sequence' =>
false),
67 array(
'name' =>
'tst_tests',
'sequence' =>
false),
68 array(
'name' =>
'tst_active',
'sequence' =>
false),
69 array(
'name' =>
'ass_log',
'sequence' =>
true)
76 [
'name' =>
'tst_solutions',
'sequence' =>
true],
87 array(
'name' =>
'tst_test_result',
'sequence' =>
true)
102 $this->atom_query = $this->db->buildAtomQuery();
103 foreach ($tables as $table) {
104 $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool) $table[
'sequence']);
113 $this->atom_query = $this->db->buildAtomQuery();
115 $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool) $table[
'sequence']);
124 $this->atom_query = $this->db->buildAtomQuery();
125 foreach (array_merge(
129 $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool) $table[
'sequence']);
138 $this->atom_query = $this->db->buildAtomQuery();
139 $this->atom_query->addTableLock(
'tst_result_cache');
140 $this->atom_query->addTableLock(
'tst_test_result')->lockSequence(
true);
141 $this->atom_query->addTableLock(
'tst_solutions')->lockSequence(
true);
149 if ($this->atom_query) {
153 $this->atom_query->run();
158 $this->atom_query = null;
onBeforeExecutingUserSolutionAdoptOperation()
{}
getTablesUsedDuringAssessmentLog()
executeOperation(callable $operation)
{}
onBeforeExecutingUserQuestionResultUpdateOperation()
{}
onBeforeExecutingUserTestResultUpdateOperation()
{}
__construct(ilDBInterface $db)
setAssessmentLogEnabled($assessmentLogEnabled)
onBeforeExecutingUserSolutionUpdateOperation()
{}
getTablesUsedDuringSolutionUpdate()
getTablesUsedDuringResultUpdate()