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);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.