ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.arSelectCollection.php
Go to the documentation of this file.
1
<?php
2
24
class
arSelectCollection
extends
arStatementCollection
25
{
26
public
function
asSQLStatement
(
ilDBInterface
$db): string
27
{
28
$return =
'SELECT '
;
29
if
($this->
hasStatements
()) {
30
$activeRecord = $this->
getAr
();
31
$selectSQLs = array_map(fn($select) => $select->asSQLStatement($activeRecord, $db), $this->getSelects());
32
$return .= implode(
', '
, $selectSQLs);
33
}
34
35
return
$return;
36
}
37
41
public
function
getSelects
(): array
42
{
43
return
$this->statements
;
44
}
45
}
arSelectCollection
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.arSelectCollection.php:25
arSelectCollection\getSelects
getSelects()
Definition:
class.arSelectCollection.php:41
arSelectCollection\asSQLStatement
asSQLStatement(ilDBInterface $db)
Definition:
class.arSelectCollection.php:26
arStatementCollection
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.arStatementCollection.php:25
arStatementCollection\$statements
array $statements
Definition:
class.arStatementCollection.php:33
arStatementCollection\hasStatements
hasStatements()
Definition:
class.arStatementCollection.php:41
arStatementCollection\getAr
getAr()
Definition:
class.arStatementCollection.php:65
ilDBInterface
Interface ilDBInterface.
Definition:
interface.ilDBInterface.php:30
components
ILIAS
ActiveRecord
Connector
Select
class.arSelectCollection.php
Generated on Sat Oct 18 2025 23:02:17 for ILIAS by
1.9.4 (using
Doxyfile
)