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;
    }
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;
    }
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 ; }
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.
Filter by concept or alias .