SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class TreenodePathMatcher

Matches a node which has a specified path.
Path can be specified with either slash (/) or backslash (\)

Variables

NameVisibilityDescription
$check_path 
$curr_depth 

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 $TreenodePathMatcher->__construct ( string $path );

Constructor

public ascend

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

Called after children have been processed

public descend

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

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

public match

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

Does the match