public function purl_querystring::detect in Persistent URL 7
Same name and namespace in other branches
- 6 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_http_build_query(drupal_get_query_parameters($_GET, array(
'q',
'sort',
'order',
'page',
'pass',
)));
//return drupal_query_string_encode($_GET, array('q', 'sort', 'order', 'page', 'pass'));
}