function views_plugin_query::set_group_operator

Control how all WHERE and HAVING groups are put together.

Parameters

string $type: Either 'AND' or 'OR'.

File

plugins/views_plugin_query.inc, line 192

Class

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

Code

public function set_group_operator($type = 'AND') {
    $this->group_operator = strtoupper($type);
}