You are here

public function purl_querystring::detect in Persistent URL 6

Same name and namespace in other branches
  1. 7 includes/purl_querystring.inc \purl_querystring::detect()

Detect a default value for in the GET request, ignore elements drupal uses already.

Overrides purl_processor::detect

File

includes/purl_querystring.inc, line 30

Class

purl_querystring
Querystring processor.

Code

public function detect($q) {
  return drupal_query_string_encode($_GET, array(
    'q',
    'sort',
    'order',
    'page',
    'pass',
  ));
}