original_string: 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'));
      }
code: 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'));
      }
code_tokens: 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' ) ) ; }
docstring: Join the user table.
  
  @param bool $strict When strict uses a JOIN rather than a LEFT JOIN.
docstring_tokens: Join the user table .