private function createJoin($table, $condition, $type)
    {
        $this->join .= $type . " JOIN " . $this->prefix . $table
            . "\n\tON " . $condition . "\n";

        return $this;
    }
private function createJoin($table, $condition, $type)
    {
        $this->join .= $type . " JOIN " . $this->prefix . $table
            . "\n\tON " . $condition . "\n";

        return $this;
    }
private function createJoin ( $ table , $ condition , $ type ) { $ this -> join .= $ type . " JOIN " . $ this -> prefix . $ table . "\n\tON " . $ condition . "\n" ; return $ this ; }
Create a inner or outer join.

@param string $table     name of table.
@param string $condition to join.
@param string $type      what type of join to create.

@return void
Create a inner or outer join .