You are here

public function purl_processor::parse in Persistent URL 6

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

Detects processor in the passed 'value'.

Parameters

$valid_values:

$value:

Return value

an array of purl_path_element objects

6 methods override purl_processor::parse()
purl_domain::parse in includes/purl_domain.inc
Simply match our 'q' (aka domain) against an allowed value.
purl_extension::parse in includes/purl_extension.inc
Detects processor in the passed 'value'.
purl_path::parse in includes/purl_path.inc
Tear apart the path and iterate thought it looking for valid values.
purl_querystring::parse in includes/purl_querystring.inc
Tear apart the path and iterate thought it looking for valid values.
purl_subdomain::parse in includes/purl_subdomain.inc
Detects processor in the passed 'value'.

... See full list

File

includes/purl_processor.inc, line 41

Class

purl_processor
Processors can inspect and manipulate various parts of a request's URI.

Code

public function parse($valid_values, $value);