SproutCMS

This is the code documentation for the SproutCMS project

class TreenodeIdsMatcher

Matches a node which which has an id of one of the ids in the list

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-12
**/
class NewClassName extends TreenodeIdsMatcher {
    
    /**
    * Constructor
    **/
    public function __construct (array $ids) {
        // Method code goes here
    }
    
    /**
    * Does the match
    **/
    public function match (TreeNode $node) {
        // Method code goes here
    }
    
    /**
    * Returns true if the children of the specified node should be searched, false otherwise.
    **/
    public function descend (TreeNode $node) {
        // Method code goes here
    }
    
    /**
    * Called after children have been processed
    **/
    public function ascend (TreeNode $node) {
        // Method code goes here
    }
    
}
?>