You are here

function views_xml_backend_handler_field::query in Views XML Backend 6

Same name and namespace in other branches
  1. 7 handlers/views_xml_backend_handler_field.inc \views_xml_backend_handler_field::query()

Called to add the field to a query.

File

handlers/views_xml_backend_handler_field.inc, line 93
Base field handler for views_xml_backend.

Class

views_xml_backend_handler_field
@file Base field handler for views_xml_backend.

Code

function query() {

  // Add the field.
  $this->table_alias = 'xml';
  $this->field_alias = $this->query
    ->add_field($this->table_alias, $this->options['xpath_selector'], '', $this->options);
}