2 require_once(
'./Services/Database/interfaces/interface.ilAtomQuery.php');
28 public function run() {
42 $this->ilDBInstance->unlockTables();
45 $this->ilDBInstance->unlockTables();
55 foreach ($this->tables as $table) {
56 $full_name = $table->getTableName() . $table->getAlias();
57 if (in_array($full_name, $this->locked_table_full_names)) {
60 $this->locked_table_full_names[] = $full_name;
63 $locks[] =
array(
'name' => $table->getTableName(),
'type' => $table->getLockLevel() );
64 $this->locked_table_names[] = $table->getTableName();
65 if ($table->isLockSequence() && $this->ilDBInstance->sequenceExists($table->getTableName())) {
66 $locks[] =
array(
'name' => $table->getTableName(),
'type' => $table->getLockLevel(),
'sequence' => true );
69 if ($table->getAlias()) {
70 $locks[] =
array(
'name' => $table->getTableName(),
'type' => $table->getLockLevel(),
'alias' => $table->getAlias() );
Class ilAtomQueryException.
Create styles array
The data for the language used.
const DB_ATOM_IDENTICAL_TABLES