ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
$
c
d
e
f
g
h
i
j
l
m
n
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
k
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
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
class.arStatementCollection.php
Go to the documentation of this file.
1
<?
php
2
require_once(
'class.arStatement.php'
);
3
10
abstract
class
arStatementCollection
11
{
12
16
protected
static
$cache
= array();
20
protected
$statements
= array();
24
protected
$ar
;
25
26
30
public
function
add
(
arStatement
$statement)
31
{
32
$this->statements[] = $statement;
33
}
34
35
39
public
function
hasStatements
()
40
{
41
return
count($this->statements) > 0;
42
}
43
44
50
public
static
function
getInstance(
ActiveRecord
$ar
)
51
{
56
$classname = get_called_class();
57
$arWhereCollection =
new
$classname();
58
$arWhereCollection->setAr($ar);
59
60
return
$arWhereCollection;
61
}
62
63
67
abstract
public
function
asSQLStatement
();
68
69
70
74
public
function
setAr
($ar)
75
{
76
$this->ar =
$ar
;
77
}
78
79
83
public
function
getAr
()
84
{
85
return
$this->ar
;
86
}
87
88
92
public
function
setStatements
(
$statements
)
93
{
94
$this->statements =
$statements
;
95
}
96
97
101
public
function
getStatements
()
102
{
103
return
$this->statements
;
104
}
105
}
arStatementCollection\getStatements
getStatements()
Definition:
class.arStatementCollection.php:101
arStatementCollection\$statements
$statements
Definition:
class.arStatementCollection.php:20
arStatementCollection
Class arStatementCollection.
Definition:
class.arStatementCollection.php:10
ActiveRecord
Class ActiveRecord.
Definition:
class.ActiveRecord.php:24
arStatementCollection\setStatements
setStatements($statements)
Definition:
class.arStatementCollection.php:92
arStatementCollection\setAr
setAr($ar)
Definition:
class.arStatementCollection.php:74
arStatementCollection\getAr
getAr()
Definition:
class.arStatementCollection.php:83
arStatement
Class arStatement.
Definition:
class.arStatement.php:10
arStatementCollection\add
add(arStatement $statement)
Definition:
class.arStatementCollection.php:30
arStatementCollection\$ar
$ar
Definition:
class.arStatementCollection.php:24
arStatementCollection\$cache
static $cache
Definition:
class.arStatementCollection.php:16
php
arStatementCollection\hasStatements
hasStatements()
Definition:
class.arStatementCollection.php:39
arStatementCollection\asSQLStatement
asSQLStatement()
Services
ActiveRecord
Connector
Statement
class.arStatementCollection.php
Generated on Thu Feb 27 2025 19:01:51 for ILIAS by
1.8.13 (using
Doxyfile
)