ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.arWhereCollection.php
Go to the documentation of this file.
1
<?php
2
require_once(dirname(__FILE__) .
'/../Statement/class.arStatementCollection.php'
);
3
require_once(
'class.arWhere.php'
);
4
11
class
arWhereCollection
extends
arStatementCollection
{
12
16
public
function
asSQLStatement
() {
17
$return =
''
;
18
if
($this->
hasStatements
()) {
19
$return .=
' WHERE '
;
20
$wheres = $this->
getWheres
();
21
$last = end($wheres);
22
foreach
($wheres as $arWhere) {
23
$return .= $arWhere->asSQLStatement($this->
getAr
());
24
if
($arWhere != $last) {
25
$return .=
' '
. $arWhere->getLink() .
' '
;
26
}
27
}
28
}
29
30
return
$return;
31
}
32
33
37
public
function
getWheres
() {
38
return
$this->statements
;
39
}
40
}
41
42
?>
Services
ActiveRecord
Connector
Where
class.arWhereCollection.php
Generated on Wed Apr 27 2016 21:01:27 for ILIAS by
1.8.1.2 (using
Doxyfile
)