ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.arConcatCollection.php
Go to the documentation of this file.
1
<?
php
2
require_once(dirname(__FILE__) .
'/../Statement/class.arStatementCollection.php'
);
3
require_once(
'class.arConcat.php'
);
4
11
class
arConcatCollection
extends
arStatementCollection
{
12
16
public
function
asSQLStatement
() {
17
$return =
''
;
18
if
($this->
hasStatements
()) {
19
$return =
', '
;
20
foreach
($this->
getConcats
() as $concat) {
21
$return .= $concat->asSQLStatement($this->
getAr
());
22
if
($concat != end($this->
getConcats
())) {
23
$return .=
', '
;
24
}
25
}
26
}
27
28
return
$return;
29
}
30
31
35
public
function
getConcats
() {
36
return
$this->statements
;
37
}
38
}
39
40
?>
arStatementCollection\$statements
$statements
Definition:
class.arStatementCollection.php:19
arStatementCollection
Class arStatementCollection.
Definition:
class.arStatementCollection.php:10
arConcatCollection\asSQLStatement
asSQLStatement()
Definition:
class.arConcatCollection.php:16
arStatementCollection\getAr
getAr()
Definition:
class.arStatementCollection.php:85
arConcatCollection
Class arConcatCollection.
Definition:
class.arConcatCollection.php:11
arConcatCollection\getConcats
getConcats()
Definition:
class.arConcatCollection.php:35
php
arStatementCollection\hasStatements
hasStatements()
Definition:
class.arStatementCollection.php:37
Services
ActiveRecord
Connector
Concat
class.arConcatCollection.php
Generated on Fri Jan 24 2025 19:01:04 for ILIAS by
1.8.13 (using
Doxyfile
)