You are here

function views_handler_filter_user_relationships_type::accept_exposed_input in User Relationships 6

Same name and namespace in other branches
  1. 7 user_relationship_views/views_handler_filter_user_relationships_type.inc \views_handler_filter_user_relationships_type::accept_exposed_input()

File

user_relationship_views/views_handler_filter_user_relationships_type.inc, line 42
User Relationships Views integration. Filter handler for relationship types, with autocomplete for type names. Modeled after views_handler_filter_user_name. @author Alex Karshakevich http://drupal.org/user/183217

Class

views_handler_filter_user_relationships_type
@file User Relationships Views integration. Filter handler for relationship types, with autocomplete for type names. Modeled after views_handler_filter_user_name. @author Alex Karshakevich http://drupal.org/user/183217

Code

function accept_exposed_input($input) {
  $rc = parent::accept_exposed_input($input);
  if ($rc) {

    // If we have previously validated input, override.
    if (isset($this->validated_exposed_input)) {
      $this->value = $this->validated_exposed_input;
    }
  }
  return $rc;
}