Lines Matching refs:from
16 protected $from = [];
39 * @param string $tablealias The table to select from
46 if (!isset($this->from[$tablealias])) {
94 if (isset($this->from[$alias])) {
97 $this->from[$alias] = "$table AS $alias";
112 if (!isset($this->from[$leftalias])) {
115 if (isset($this->from[$rightalias])) {
119 $pos = array_search($leftalias, array_keys($this->from));
121 $this->from = $this->arrayInsert($this->from, [$rightalias => $statement], $pos + 1);
153 if (!isset($this->from[$tablealias])) {
212 $from = '';
213 foreach ($this->from as $alias => $statement) {
214 if ($this->type[$alias] == 'table' && $from) {
215 $from .= ",\n";
217 $from .= "\n";
220 $from .= $statement;
231 ' FROM ' . $from . "\n" .