You are here

function ds_search_get_keys in Display Suite 7

Same name and namespace in other branches
  1. 7.2 modules/ds_search/ds_search.module \ds_search_get_keys()

Save or get the search keys.

2 calls to ds_search_get_keys()
ds_search_extra_variables in modules/ds_search/ds_search.module
Return the extra variables.
ds_search_search_execute in modules/ds_search/ds_search.module
Implements hook_search_execute().

File

modules/ds_search/ds_search.module, line 207
Display Suite search.

Code

function ds_search_get_keys($keys = NULL) {
  static $run, $saved_keys = FALSE;
  if (!$run) {
    $run = TRUE;
    $saved_keys = $keys;
  }
  else {
    return $saved_keys;
  }
}