public function innerJoin($table, $alias = NULL) { $join = new Join($table, $alias, 'INNER'); $this->joins[] = $join; return $join; }