TYPO3  7.6
Public Member Functions | List of all members
ParsedTemplateInterface Interface Reference
Inheritance diagram for ParsedTemplateInterface:
AbstractCompiledTemplate ParsingState AbstractCompiledTemplate

Public Member Functions

 render (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 getVariableContainer ()
 
 getLayoutName (\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext)
 
 hasLayout ()
 
 isCompilable ()
 
 isCompiled ()
 

Detailed Description

This interface is returned by ->parse() method and is a parsed template

Definition at line 18 of file ParsedTemplateInterface.php.

Member Function Documentation

getLayoutName ( \TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface  $renderingContext)

Returns the name of the layout that is defined within the current template via <f:layout name="..." /> If no layout is defined, this returns NULL This requires the current rendering context in order to be able to evaluate the layout name

Parameters
\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface$renderingContext
Returns
string

Implemented in ParsingState.

getVariableContainer ( )

Returns a variable container used in the PostParse Facet.

Todo:
remove
Returns

Implemented in ParsingState.

hasLayout ( )

Returns TRUE if the current template has a template defined via <f:layout name="..." />

See Also
getLayoutName()
Returns
bool

Implemented in ParsingState.

isCompilable ( )

If the template contains constructs which prevent the compiler from compiling the template correctly, isCompilable() will return FALSE.

Returns
bool TRUE if the template can be compiled

Implemented in ParsingState, and AbstractCompiledTemplate.

isCompiled ( )
Returns
bool TRUE if the template is already compiled, FALSE otherwise

Implemented in ParsingState, and AbstractCompiledTemplate.

Render the parsed template with rendering context

Parameters
\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface$renderingContextThe rendering context to use
Returns
string Rendered string

Implemented in ParsingState.