Lines Matching defs:table
17 /** @var array (alias -> "table"|"join") keeps how tables were added, as table or join */
39 * @param string $tablealias The table to select from
86 * Adds the the table to the FROM statement part
88 * @param string $table the table to add
89 * @param string $alias alias for the table, blank for table name
91 public function addTable($table, $alias = '')
93 if ($alias === '') $alias = $table;
97 $this->from[$alias] = "$table AS $alias";
98 $this->type[$alias] = 'table';
104 * @param string $leftalias the alias of the left table you're joining on, has to exist already
105 * @param string $righttable the right table to be joined
106 * @param string $rightalias an alias for the right table, blank for table name
192 * Creates a new table alias that has not been used before
214 if ($this->type[$alias] == 'table' && $from) {