1 views_plugin_query.inc views_plugin_query::init($base_table, $base_field, $options)

Constructor; Create the basic query object and fill with default values.

File

core/modules/views/plugins/views_plugin_query.inc, line 29
Defines the base query class, which is the underlying layer in a View.

Class

views_plugin_query
Object used to create a SELECT query.

Code

function init($base_table, $base_field, $options) {
  $this->base_table = $base_table;
  $this->base_field = $base_field;
  $this->unpack_options($this->options, $options);
}