Matches a node which has a specified path. Path can be specified with either slash (/) or backslash (\)
This is the code documentation for the SproutCMS project
Search documentation |
class TreenodePathMatcherMatches a node which has a specified path. Path can be specified with either slash (/) or backslash (\)
Extending this class<?php /** * New class description goes here * * @author Your Name, 2024-11-25 **/ class NewClassName extends TreenodePathMatcher { /** * Called after children have been processed **/ public function ascend (TreeNode $node) { // 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 } /** * Constructor **/ public function __construct (string $path) { // Method code goes here } } ?> |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |