ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
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
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.arOrderCollection.php
Go to the documentation of this file.
1
<?php
2
require_once(dirname(__FILE__) .
'/../Statement/class.arStatementCollection.php'
);
3
require_once(
'class.arOrder.php'
);
4
11
class
arOrderCollection
extends
arStatementCollection
{
12
16
public
function
asSQLStatement
() {
17
$return =
''
;
18
if
($this->
hasStatements
()) {
19
$return .=
' ORDER BY '
;
20
foreach
($this->
getOrders
() as $order) {
21
$return .= $order->asSQLStatement($this->
getAr
());
22
if
($order != end($this->
getOrders
())) {
23
$return .=
', '
;
24
}
25
}
26
}
27
28
return
$return;
29
}
30
31
35
public
function
getOrders
() {
36
return
$this->statements
;
37
}
38
}
39
40
?>
arStatementCollection\$statements
$statements
Definition:
class.arStatementCollection.php:19
arStatementCollection
Class arStatementCollection.
Definition:
class.arStatementCollection.php:10
arStatementCollection\getAr
getAr()
Definition:
class.arStatementCollection.php:77
arOrderCollection\asSQLStatement
asSQLStatement()
Definition:
class.arOrderCollection.php:16
arOrderCollection\getOrders
getOrders()
Definition:
class.arOrderCollection.php:35
arOrderCollection
Class arOrderCollection.
Definition:
class.arOrderCollection.php:11
arStatementCollection\hasStatements
hasStatements()
Definition:
class.arStatementCollection.php:37
Services
ActiveRecord
Connector
Order
class.arOrderCollection.php
Generated on Mon Apr 14 2025 19:00:41 for ILIAS by
1.8.13 (using
Doxyfile
)