SproutCMS

This is the code documentation for the SproutCMS project

function filterChildren()

Filter the children of this node, removing any children which don't match the specified TreenodeMatcher.
The nodes are not actually removed, matching nodes are just added to a filtered children list
Which is returned instead of the original children list.

Usage

void $Treenode->filterChildren ( TreenodeMatcher $matcher );

Arguments

  1. TreenodeMatcher $matcher

Return value

  • void