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.arHavingCollection.php
Go to the documentation of this file.
1
<?php
2
require_once(dirname(__FILE__) .
'/../Statement/class.arStatementCollection.php'
);
3
require_once(
'class.arHaving.php'
);
4
11
class
arHavingCollection
extends
arStatementCollection
12
{
13
17
public
function
asSQLStatement
()
18
{
19
$return =
''
;
20
if
($this->
hasStatements
()) {
21
$return .=
' HAVING '
;
22
$wheres = $this->
getHavings
();
23
$last = end($wheres);
24
foreach
($wheres as $arWhere) {
25
$return .= $arWhere->asSQLStatement($this->
getAr
());
26
if
($arWhere != $last) {
27
$return .=
' '
. $arWhere->getGlue() .
' '
;
28
}
29
}
30
}
31
32
return
$return;
33
}
34
35
39
public
function
getHavings
()
40
{
41
return
$this->statements
;
42
}
43
}
arStatementCollection\$statements
$statements
Definition:
class.arStatementCollection.php:20
arStatementCollection
Class arStatementCollection.
Definition:
class.arStatementCollection.php:10
arHavingCollection
Class arWhereCollection.
Definition:
class.arHavingCollection.php:11
arStatementCollection\getAr
getAr()
Definition:
class.arStatementCollection.php:83
arHavingCollection\asSQLStatement
asSQLStatement()
Definition:
class.arHavingCollection.php:17
arHavingCollection\getHavings
getHavings()
Definition:
class.arHavingCollection.php:39
arStatementCollection\hasStatements
hasStatements()
Definition:
class.arStatementCollection.php:39
Services
ActiveRecord
Connector
Having
class.arHavingCollection.php
Generated on Fri Apr 4 2025 20:01:17 for ILIAS by
1.8.13 (using
Doxyfile
)