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)
91 $this->atom_query = $this->db->buildAtomQuery();
92 foreach ($tables as
$table) {
93 $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool) $table[
'sequence']);
102 $this->atom_query = $this->db->buildAtomQuery();
104 $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool) $table[
'sequence']);
113 $this->atom_query = $this->db->buildAtomQuery();
114 foreach (array_merge(
118 $this->atom_query->addTableLock($table[
'name'])->lockSequence((
bool) $table[
'sequence']);
127 $this->atom_query = $this->db->buildAtomQuery();
128 $this->atom_query->addTableLock(
'tst_result_cache');
129 $this->atom_query->addTableLock(
'tst_test_result')->lockSequence(
true);
130 $this->atom_query->addTableLock(
'tst_solutions')->lockSequence(
true);
138 if ($this->atom_query) {
142 $this->atom_query->run();
147 $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)
if(empty($password)) $table
onBeforeExecutingUserSolutionUpdateOperation()
{}
getTablesUsedDuringSolutionUpdate()
getTablesUsedDuringResultUpdate()