You are here

public function purl_path::adjust in Persistent URL 7

Same name and namespace in other branches
  1. 6 includes/purl_path.inc \purl_path::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_path.inc, line 49

Class

purl_path
Path prefixer.

Code

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