4 require_once
'Modules/TestQuestionPool/classes/class.ilAssQuestionProcessLocker.php';
53 array(
'name' =>
'qpl_questions',
'sequence' =>
false),
54 array(
'name' =>
'tst_tests',
'sequence' =>
false),
55 array(
'name' =>
'tst_active',
'sequence' =>
false),
56 array(
'name' =>
'ass_log',
'sequence' =>
true)
66 array(
'name' =>
'tst_solutions',
'sequence' =>
true)
76 array(
'name' =>
'tst_test_result',
'sequence' =>
true)
92 $this->atom_query = $this->db->buildAtomQuery();
93 foreach($tables as $table)
95 $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool)$table[
'sequence']);
104 $this->atom_query = $this->db->buildAtomQuery();
107 $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool)$table[
'sequence']);
116 $this->atom_query = $this->db->buildAtomQuery();
121 $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool)$table[
'sequence']);
130 $this->atom_query = $this->db->buildAtomQuery();
131 $this->atom_query->addTableLock(
'tst_result_cache');
139 if($this->atom_query)
144 $this->atom_query->run();
151 $this->atom_query = null;
onBeforeExecutingUserSolutionAdoptOperation()
{}
getTablesUsedDuringAssessmentLog()
executeOperation(callable $operation)
{}
onBeforeExecutingUserQuestionResultUpdateOperation()
{}
onBeforeExecutingUserTestResultUpdateOperation()
{}
Create styles array
The data for the language used.
__construct(ilDBInterface $db)
setAssessmentLogEnabled($assessmentLogEnabled)
onBeforeExecutingUserSolutionUpdateOperation()
{}
getTablesUsedDuringSolutionUpdate()
getTablesUsedDuringResultUpdate()