/** * Adds addition tables to "JOIN ...". * * @param mixed column name or array($column, $alias) or object * @param string join type (LEFT, RIGHT, INNER, etc) * @return $this */ public function join($table, $type = NULL) { if (is_array($table)) { $table[0] = $this->_table($table[0]); } else { $table = $this->_table($table); } return parent::join($table, $type); }