ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ 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
}
arStatementCollection
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.arStatementCollection.php:24
arStatementCollection\getAr
getAr()
Definition:
class.arStatementCollection.php:65
arConcatCollection
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.arConcatCollection.php:24
arConcatCollection\getConcats
getConcats()
Definition:
class.arConcatCollection.php:46
ilDBInterface
arStatementCollection\$statements
array $statements
Definition:
class.arStatementCollection.php:33
arConcatCollection\asSQLStatement
asSQLStatement(ilDBInterface $db)
Definition:
class.arConcatCollection.php:26
arStatementCollection\hasStatements
hasStatements()
Definition:
class.arStatementCollection.php:41
components
ILIAS
ActiveRecord
Connector
Concat
class.arConcatCollection.php
Generated on Mon Sep 1 2025 23:01:52 for ILIAS by
1.8.13 (using
Doxyfile
)