ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.arConcatCollection.php
Go to the documentation of this file.
1<?php
2require_once(dirname(__FILE__) . '/../Statement/class.arStatementCollection.php');
3require_once('class.arConcat.php');
4
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?>
Class arConcatCollection.
Class arStatementCollection.