original_string: public function filter_by_term($term) {
          $this->where[] = sprintf("(%s = :filterterma OR %s = :filtertermb)",
              self::resolve_field('concept', 'entries'),
              self::resolve_field('alias', 'alias'));
          $this->params['filterterma'] = $term;
          $this->params['filtertermb'] = $term;
      }
code: public function filter_by_term($term) {
          $this->where[] = sprintf("(%s = :filterterma OR %s = :filtertermb)",
              self::resolve_field('concept', 'entries'),
              self::resolve_field('alias', 'alias'));
          $this->params['filterterma'] = $term;
          $this->params['filtertermb'] = $term;
      }
code_tokens: public function filter_by_term ( $ term ) { $ this -> where [ ] = sprintf ( "(%s = :filterterma OR %s = :filtertermb)" , self :: resolve_field ( 'concept' , 'entries' ) , self :: resolve_field ( 'alias' , 'alias' ) ) ; $ this -> params [ 'filterterma' ] = $ term ; $ this -> params [ 'filtertermb' ] = $ term ; }
docstring: Filter by concept or alias.
  
  This requires the alias table to be joined in the query. See {@link self::join_alias()}.
  
  @param string $term What the concept or aliases should be.
docstring_tokens: Filter by concept or alias .