ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
{
13
17
public
function
asSQLStatement
()
18
{
19
$return =
'SELECT '
;
20
if
($this->
hasStatements
()) {
21
$activeRecord = $this->
getAr
();
22
$selectSQLs = array_map(
function
($select) use ($activeRecord) {
23
return
$select->asSQLStatement($activeRecord);
24
}, $this->
getSelects
());
25
$return .= join(
', '
, $selectSQLs);
26
}
27
28
// $return .= ' FROM ' . $this->getAr()->getConnectorContainerName();
29
30
return
$return;
31
}
32
33
37
public
function
getSelects
()
38
{
39
return
$this->statements
;
40
}
41
}
arStatementCollection\$statements
$statements
Definition:
class.arStatementCollection.php:20
arStatementCollection
Class arStatementCollection.
Definition:
class.arStatementCollection.php:10
arSelectCollection\asSQLStatement
asSQLStatement()
Definition:
class.arSelectCollection.php:17
arStatementCollection\getAr
getAr()
Definition:
class.arStatementCollection.php:91
arSelectCollection\getSelects
getSelects()
Definition:
class.arSelectCollection.php:37
arSelectCollection
Class arSelectCollection.
Definition:
class.arSelectCollection.php:11
arStatementCollection\hasStatements
hasStatements()
Definition:
class.arStatementCollection.php:39
Services
ActiveRecord
Connector
Select
class.arSelectCollection.php
Generated on Tue Jan 28 2025 19:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)