You are here

function node_gallery_api_views_handler_item_navigator::query in Node Gallery 7

Called to add the field to a query.

Overrides views_handler_field::query

File

includes/views/node_gallery_api_views_handler_item_navigator.inc, line 13
Views field handler that displays the image navigator

Class

node_gallery_api_views_handler_item_navigator
Field handler to display the item navigator in a view

Code

function query() {
  $this
    ->ensure_my_table();
  $this->field_alias = $this->query
    ->add_field($this->table_alias, 'id');
}