You are here

public function biblio_handler_field::query in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 views/biblio_handler_field.inc \biblio_handler_field::query()
  2. 6 views/biblio_handler_field.inc \biblio_handler_field::query()
  3. 7.2 views/biblio_handler_field.inc \biblio_handler_field::query()

Called to add the field to a query.

Overrides views_handler_field::query

2 methods override biblio_handler_field::query()
biblio_handler_field_contributor::query in views/biblio_handler_field_contributor.inc
Called to add the field to a query.
biblio_handler_field_keyword::query in views/biblio_handler_field_keyword.inc
Called to add the field to a query.

File

views/biblio_handler_field.inc, line 31

Class

biblio_handler_field

Code

public function query() {

  // Add the biblio_type field as tid.
  $this
    ->ensure_my_table();
  if ($this->options['biblio_label']) {
    $this->query
      ->add_field($this->table_alias, 'biblio_type', 'biblio_tid');
  }
  parent::query();
}