function views_plugin_query::init

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 31

Class

views_plugin_query
The base query class, which is the underlying layer in a View.

Code

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