public function join_user($strict = false) {
        $join = $strict ? 'JOIN' : 'LEFT JOIN';
        $this->joins[] = sprintf("$join {user} %s ON %s = %s",
            self::ALIAS_USER, self::resolve_field('id', 'user'), self::resolve_field('userid', 'entries'));
    }
public function join_user($strict = false) {
        $join = $strict ? 'JOIN' : 'LEFT JOIN';
        $this->joins[] = sprintf("$join {user} %s ON %s = %s",
            self::ALIAS_USER, self::resolve_field('id', 'user'), self::resolve_field('userid', 'entries'));
    }
public function join_user ( $ strict = false ) { $ join = $ strict ? 'JOIN' : 'LEFT JOIN' ; $ this -> joins [ ] = sprintf ( "$join {user} %s ON %s = %s" , self :: ALIAS_USER , self :: resolve_field ( 'id' , 'user' ) , self :: resolve_field ( 'userid' , 'entries' ) ) ; }
Join the user table.

@param bool $strict When strict uses a JOIN rather than a LEFT JOIN.
Join the user table .