You are here

class i18nviews_content_negotiation_filter_handler in Internationalization Views 6.3

Same name and namespace in other branches
  1. 6.2 includes/i18nviews_content_negotiation_filter_handler.inc \i18nviews_content_negotiation_filter_handler

Hierarchy

Expanded class hierarchy of i18nviews_content_negotiation_filter_handler

1 string reference to 'i18nviews_content_negotiation_filter_handler'
i18nviews_views_data in includes/i18nviews.views.inc

File

includes/i18nviews_content_negotiation_filter_handler.inc, line 3

View source
class i18nviews_content_negotiation_filter_handler extends views_handler_filter {
  function query() {
    $this
      ->ensure_my_table();
    $where = i18n_db_rewrite_where($this->table_alias, 'node');
    if (!empty($where)) {
      $this->query
        ->add_where($this->options['group'], $where);
    }
  }
  function option_definition() {
    $options = parent::option_definition();
    $options['operator']['default'] = '';
    $options['value']['default'] = '';
    return $options;
  }

}

Members