ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
◀ ilDoc Overview
class.arSelectCollection.php
Go to the documentation of this file.
1
<?php
2
require_once(dirname(__FILE__) .
'/../Statement/class.arStatementCollection.php'
);
3
require_once(
'class.arSelect.php'
);
4
11
class
arSelectCollection
extends
arStatementCollection
{
12
16
public
function
asSQLStatement
() {
17
$return =
'SELECT '
;
18
if
($this->
hasStatements
()) {
19
foreach
($this->
getSelects
() as $select) {
20
$return .= $select->asSQLStatement($this->
getAr
());
21
if
($select != end($this->
getSelects
())) {
22
$return .=
', '
;
23
}
24
}
25
}
26
27
// $return .= ' FROM ' . $this->getAr()->getConnectorContainerName();
28
29
return
$return;
30
}
31
32
36
public
function
getSelects
() {
37
return
$this->statements
;
38
}
39
}
40
41
?>
arStatementCollection\$statements
$statements
Definition:
class.arStatementCollection.php:19
arStatementCollection
Class arStatementCollection.
Definition:
class.arStatementCollection.php:10
arSelectCollection\asSQLStatement
asSQLStatement()
Definition:
class.arSelectCollection.php:16
arStatementCollection\getAr
getAr()
Definition:
class.arStatementCollection.php:77
arSelectCollection\getSelects
getSelects()
Definition:
class.arSelectCollection.php:36
arSelectCollection
Class arSelectCollection.
Definition:
class.arSelectCollection.php:11
arStatementCollection\hasStatements
hasStatements()
Definition:
class.arStatementCollection.php:37
Services
ActiveRecord
Connector
Select
class.arSelectCollection.php
Generated on Wed Aug 27 2025 19:00:49 for ILIAS by
1.8.13 (using
Doxyfile
)