function views_plugin_query::set_group_operator

cis7 views_plugin_query.inc views_plugin_query::set_group_operator($type = 'AND')
cle7 views_plugin_query.inc views_plugin_query::set_group_operator($type = 'AND')
elmsmedia7 views_plugin_query.inc views_plugin_query::set_group_operator($type = 'AND')
icor7 views_plugin_query.inc views_plugin_query::set_group_operator($type = 'AND')
meedjum_blog7 views_plugin_query.inc views_plugin_query::set_group_operator($type = 'AND')
mooc7 views_plugin_query.inc views_plugin_query::set_group_operator($type = 'AND')

Control how all WHERE and HAVING groups are put together.

Parameters

$type: Either 'AND' or 'OR'

File

sites/all/modules/ulmus/views/plugins/views_plugin_query.inc, line 171
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 set_group_operator($type = 'AND') {
  $this->group_operator = strtoupper($type);
}