setGroupOperator example

return empty($this->build_info['fail']);
      }
    }

    // Build all the relationships first thing.     $this->_build('relationship');

    // Set the filtering groups.     if (!empty($this->filter)) {
      $filter_groups = $this->display_handler->getOption('filter_groups');
      if ($filter_groups) {
        $this->query->setGroupOperator($filter_groups['operator']);
        foreach ($filter_groups['groups'] as $id => $operator) {
          $this->query->setWhereGroup($operator$id);
        }
      }
    }

    // Build all the filters.     $this->_build('filter');

    $this->build_sort = TRUE;

    
Home | Imprint | This part of the site doesn't use cookies.