1 views_handler_argument_search.inc views_handler_argument_search::query_parse_search_expression($input)

Take sure that parseSearchExpression is runned and everything is set up for it.

Parameters

$input: The search phrase which was input by the user.

File

core/modules/search/views/views_handler_argument_search.inc, line 21
Definition of views_handler_argument_search.

Class

views_handler_argument_search
Argument that accepts query keys for search.

Code

function query_parse_search_expression($input) {
  if (!isset($this->search_query)) {
    $this->search_query = db_select('search_index', 'i', array('target' => 'slave'))->extend('viewsSearchQuery');
    $this->search_query->searchExpression($input, $this->view->base_table);
    $this->search_query->publicParseSearchExpression();
  }
}