$value) { if (stripos($useragent, $key) !== FALSE) { return purl_path_elements($this, $valid_values); } } } /** * We cannot alter the user agent, no need to try. */ public function adjust(&$value, $element, &$q) {} public function rewrite(&$path, &$options, $element) {} }