SproutCMS

This is the code documentation for the SproutCMS project

function findNode()

Finds a node by looking at this node
If that does not match, looking at each of this nodes children in turn.
If that does not match, return null

Usage

static $Treenode->findNode ( TreenodeMatcher $matcher );

Arguments

  1. TreenodeMatcher $matcher
    The matcher to use for finding the node.

Return value

  • static
    if found, null if not found.