SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class TreenodeContainsMatcher

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

Variables

NameVisibilityDescription
$key 
$value 

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 $TreenodeContainsMatcher->__construct ( string $key , mixed $value );

Constructor

public ascend

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

Called after children have been processed

public descend

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

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

public match

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

Does the match