You are here

public function views_handler_filter_user_name::accept_exposed_input in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 modules/user/views_handler_filter_user_name.inc \views_handler_filter_user_name::accept_exposed_input()
  2. 6.2 modules/user/views_handler_filter_user_name.inc \views_handler_filter_user_name::accept_exposed_input()

Check to see if input from the exposed filters should change the behavior.

Overrides views_handler_filter_in_operator::accept_exposed_input

File

modules/user/views_handler_filter_user_name.inc, line 68
Definition of views_handler_filter_user_name.

Class

views_handler_filter_user_name
Filter handler for usernames.

Code

public 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;
}