function views_plugin_query::init

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

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

1 call to views_plugin_query::init()
views_plugin_query_default::init in plugins/views_plugin_query_default.inc
Constructor; Create the basic query object and fill with default values.
1 method overrides views_plugin_query::init()
views_plugin_query_default::init in plugins/views_plugin_query_default.inc
Constructor; Create the basic query object and fill with default values.

File

plugins/views_plugin_query.inc, line 30
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);
}