function views_plugin_query::init in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 7.3 plugins/views_plugin_query.inc \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 19 - 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);
}