SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class TreenodeRegexMatcher

Matches a node which has a specific key containing a specific value

Variables

NameVisibilityDescription
$flags 
$key 
$regex 

Functions

NameVisibilityDescription
__constructpublicConstructor
ascendpublicCalled after children have been processed
descendpublicReturns true if the children of the specified node should be searched, false otherwise.
matchpublicDoes the match

public __construct

void $TreenodeRegexMatcher->__construct ( string $key , mixed $regex [, string $flags ] );

Constructor

public ascend

void $TreenodeRegexMatcher->ascend ( TreeNode $node );

Called after children have been processed

public descend

True $TreenodeRegexMatcher->descend ( TreeNode $node );

Returns true if the children of the specified node should be searched, false otherwise.

public match

True $TreenodeRegexMatcher->match ( TreeNode $node );

Does the match