ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
class.arSelectCollection.php
Go to the documentation of this file.
1<?php
2require_once(dirname(__FILE__) . '/../Statement/class.arStatementCollection.php');
3require_once('class.arSelect.php');
4
12
16 public function asSQLStatement() {
17 $return = 'SELECT ';
18 if ($this->hasStatements()) {
19 foreach ($this->getSelects() as $select) {
20 $return .= $select->asSQLStatement($this->getAr());
21 if ($select != end($this->getSelects())) {
22 $return .= ', ';
23 }
24 }
25 }
26
27// $return .= ' FROM ' . $this->getAr()->getConnectorContainerName();
28
29 return $return;
30 }
31
32
36 public function getSelects() {
37 return $this->statements;
38 }
39}
40
41?>
Class arSelectCollection.
Class arStatementCollection.