IncludeTreeSourceAggregatorVisitor implements IncludeTreeVisitorInterface

FinalYes

Create a TypoScript source back from an IncludeTree. Inline source from "@import" and friends.

This visitor is used in ext:tstemplate TypoScript modules and ext:backend page TSconfig backend modules to show code of single includes with their resolved imports.

Internal

This is a specific Backend implementation and is not considered part of the Public TYPO3 API.

Table of Contents

Interfaces

IncludeTreeVisitorInterface
A visitor that can be attached to IncludeTreeTraverser's.

Methods

getSource()  : string
setStartNodeIdentifier()  : mixed
visit()  : void
Main visit method called for each node.
visitBeforeChildren()  : void
Gets called by the traversers *before* children are traversed. Useful for instance for the IncludeTreeConditionMatcherVisitor to evaluate a condition verdict *before* children are traversed (or not).

Methods

getSource()

public getSource() : string
Return values
string

setStartNodeIdentifier()

public setStartNodeIdentifier(string $startNodeIdentifier) : mixed
Parameters
$startNodeIdentifier : string

visitBeforeChildren()

Gets called by the traversers *before* children are traversed. Useful for instance for the IncludeTreeConditionMatcherVisitor to evaluate a condition verdict *before* children are traversed (or not).

public visitBeforeChildren(IncludeInterface $include, int $currentDepth) : void
Parameters
$include : IncludeInterface
$currentDepth : int

        
On this page

Search results