TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
XmlnsNamespaceTemplatePreProcessor Class Reference
Inheritance diagram for XmlnsNamespaceTemplatePreProcessor:

Public Member Functions

 setRenderingContext (RenderingContextInterface $renderingContext)
 
 preProcessSource ($templateSource)
 

Protected Attributes

 $renderingContext
 

Detailed Description

Member Function Documentation

preProcessSource (   $templateSource)

Pre-process the template source before it is returned to the TemplateParser or passed to the next TemplateProcessorInterface instance.

Detects all tags that carry an xmlns: definition using a Fluid-compatible prefix and a conventional namespace URL (http://typo3.org/ns/). Extracts the detected namespaces and removes the detected tag.

Parameters
string$templateSource
Returns
string

Definition at line 50 of file XmlnsNamespaceTemplatePreProcessor.php.

setRenderingContext ( RenderingContextInterface  $renderingContext)
Parameters
RenderingContextInterface$renderingContext
Returns
void

Definition at line 34 of file XmlnsNamespaceTemplatePreProcessor.php.

References XmlnsNamespaceTemplatePreProcessor\$renderingContext.

Member Data Documentation

$renderingContext
protected