You are here

public function purl_extension::adjust in Persistent URL 7

Same name and namespace in other branches
  1. 6 includes/purl_extension.inc \purl_extension::adjust()

Rewrite the query string. Note that this is being passed through the custom_url_rewrite_inbound() stack and may *not* directly affect $_GET['q']. See purl_init() for how $_GET['q'] is affected by processors.

Overrides purl_processor::adjust

File

includes/purl_extension.inc, line 40

Class

purl_extension
File extension style. Like ".csv"

Code

public function adjust(&$value, $item, &$q) {
  $q = $this
    ->remove($q, $item);
  $value = $this
    ->remove($value, $item);
}