ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilAtomQueryTransaction.php
Go to the documentation of this file.
1
<?php
2
10
class
ilAtomQueryTransaction
extends
ilAtomQueryBase
implements
ilAtomQuery
11
{
12
18
public
function
run
()
19
{
20
$this->
checkBeforeRun
();
21
$this->
runWithTransactions
();
22
}
23
24
28
protected
function
runWithTransactions
()
29
{
30
$i
= 0;
31
do
{
32
$e
= null;
33
try
{
34
$this->ilDBInstance->beginTransaction();
35
$this->
runQueries
();
36
$this->ilDBInstance->commit();
37
}
catch
(
ilDatabaseException
$e
) {
38
$this->ilDBInstance->rollback();
39
if
(
$i
>= self::ITERATIONS - 1) {
40
throw
$e
;
41
}
42
}
43
$i
++;
44
}
while
(
$e
instanceof
ilDatabaseException
);
45
}
46
}
ilAtomQueryBase\checkBeforeRun
checkBeforeRun()
Definition:
class.ilAtomQueryBase.php:347
ilAtomQueryTransaction
Class ilAtomQueryTransaction.
Definition:
class.ilAtomQueryTransaction.php:10
ilAtomQueryBase
Class ilAtomQuery.
Definition:
class.ilAtomQueryBase.php:11
ilAtomQueryBase\runQueries
runQueries()
Definition:
class.ilAtomQueryBase.php:337
Vendor\Package\$e
$e
Definition:
example_cleaned.php:31
ilDatabaseException
Class ilDatabaseException.
Definition:
exception.ilDatabaseException.php:9
ilAtomQueryTransaction\runWithTransactions
runWithTransactions()
Definition:
class.ilAtomQueryTransaction.php:28
ilAtomQuery
Interface ilAtomQuery.
Definition:
interface.ilAtomQuery.php:11
ilAtomQueryTransaction\run
run()
Fire your Queries.
Definition:
class.ilAtomQueryTransaction.php:18
$i
$i
Definition:
metadata.php:24
Services
Database
classes
Atom
class.ilAtomQueryTransaction.php
Generated on Sun Apr 13 2025 20:01:18 for ILIAS by
1.8.13 (using
Doxyfile
)