ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.arConcatCollection.php
Go to the documentation of this file.
1
<?php
2
24
class
arConcatCollection
extends
arStatementCollection
25
{
26
public
function
asSQLStatement
(
ilDBInterface
$db): string
27
{
28
$return =
''
;
29
if
($this->
hasStatements
()) {
30
$return =
', '
;
31
$concats = $this->
getConcats
();
32
foreach
($concats as $concat) {
33
$return .= $concat->asSQLStatement($this->
getAr
(), $db);
34
if
($concat !== end($concats)) {
35
$return .=
', '
;
36
}
37
}
38
}
39
40
return
$return;
41
}
42
46
public
function
getConcats
(): array
47
{
48
return
$this->statements
;
49
}
50
}
arConcatCollection
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.arConcatCollection.php:25
arConcatCollection\getConcats
getConcats()
Definition:
class.arConcatCollection.php:46
arConcatCollection\asSQLStatement
asSQLStatement(ilDBInterface $db)
Definition:
class.arConcatCollection.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
Concat
class.arConcatCollection.php
Generated on Sat Oct 18 2025 23:02:17 for ILIAS by
1.9.4 (using
Doxyfile
)