2 require_once(dirname(__FILE__) .
'/../Statement/class.arStatementCollection.php');
3 require_once(
'class.arJoin.php');
26 if (in_array($table_name, $this->table_names)) {
27 $vals = array_count_values($this->table_names);
28 $next = $vals[$table_name] + 1;
32 return $table_name .
'_' . $next;
44 $this->table_names[] = $statement->getTableName();
55 foreach ($this->
getJoins() as $join) {
56 $return .= $join->asSQLStatement($this->
getAr());