PHP Class Neos\FluidAdaptor\Core\Parser\TemplateProcessor\NamespaceDetectionTemplateProcessor
Compared to TYPO3Fluid that just removes all CDATA sections from the template before parsing, this pre processor
finds CDATA and base65 encodes those areas of the template and surrounds that with a call to the Base64DecodeViewHelper
which results in the the CDATA section to be present in the final output without any changes from fluid.
Afficher le fichier
Open project: neos/flow-development-collection
Méthodes publiques
Méthodes publiques
Method Details
preProcessSource()
public méthode
Pre-process the template source before it is
returned to the TemplateParser or passed to
the next TemplateProcessorInterface instance.
protectCDataSectionsFromParser()
public méthode
CDATA sections will appear as they are in the final rendered result.
registerNamespacesFromTemplateSource()
public méthode
Register all namespaces that are declared inside the template string
throwExceptionsForUnhandledNamespaces()
public méthode
Throw an UnknownNamespaceException for any unknown and not ignored
namespace inside the template string.
Property Details