AstNodeFinderVisitor implements AstVisitorInterface
FinalYes
Find a single node in tree identified by node identifier.
This is a specific Backend implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Interfaces
- AstVisitorInterface
- An interface implemented by all visitors of AstTraverser.
Methods
- getFoundNode() : NodeInterface|null
- getFoundNodeCurrentObjectPath() : CurrentObjectPath|null
- setNodeIdentifier() : mixed
- visit() : void
- visitAfterChildren() : void
- visitBeforeChildren() : void
Methods
getFoundNode()
public
getFoundNode() : NodeInterface|null
Return values
NodeInterface|nullgetFoundNodeCurrentObjectPath()
public
getFoundNodeCurrentObjectPath() : CurrentObjectPath|null
Return values
CurrentObjectPath|nullsetNodeIdentifier()
public
setNodeIdentifier(string $nodeIdentifier) : mixed
Parameters
- $nodeIdentifier : string
visit()
public
visit(RootNode $rootNode, NodeInterface $node, CurrentObjectPath $currentObjectPath, int $currentDepth) : void
Parameters
- $rootNode : RootNode
- $node : NodeInterface
- $currentObjectPath : CurrentObjectPath
- $currentDepth : int
visitAfterChildren()
public
visitAfterChildren(RootNode $rootNode, NodeInterface $node, CurrentObjectPath $currentObjectPath, int $currentDepth) : void
Parameters
- $rootNode : RootNode
- $node : NodeInterface
- $currentObjectPath : CurrentObjectPath
- $currentDepth : int
visitBeforeChildren()
public
visitBeforeChildren(RootNode $rootNode, NodeInterface $node, CurrentObjectPath $currentObjectPath, int $currentDepth) : void
Parameters
- $rootNode : RootNode
- $node : NodeInterface
- $currentObjectPath : CurrentObjectPath
- $currentDepth : int