public function join($table)
    {
        if( !empty($this->currentJoin) ) {
            $this->joins[] = $this->currentJoin;
        }
        $this->currentJoin = array();
        $this->currentJoin['table'] = $table;
        $this->currentJoin['direction'] = 'INNER';
        return $this;
    }