context_condition_path::match ( subject,
patterns,
path = FALSE 
) [protected]

Match the subject against a set of regex patterns. Similar to drupal_match_path() but also handles negation through the use of the ~ character.

Parameters:
mixed $subject The subject string or an array of strings to be matched.
array $patterns An array of patterns. Any patterns that begin with ~ are considered negative or excluded conditions.
boolean $path Whether the given subject should be matched as a Drupal path. If TRUE, '<front>' will be replaced with the site frontpage when matching against $patterns.

Definition at line 77 of file context_condition_path.inc.

References array().

Referenced by execute(), and context_condition_context::execute().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Fri May 24 02:24:01 2013 for Context by  doxygen 1.4.7