function views_handler_filter_user_relationships_type::accept_exposed_input in User Relationships 7
Same name and namespace in other branches
- 6 user_relationship_views/views_handler_filter_user_relationships_type.inc \views_handler_filter_user_relationships_type::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
- user_relationship_views/
views_handler_filter_user_relationships_type.inc, line 39 - 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;
}