‪TYPO3CMS  11.5
TYPO3\CMS\Fluid\View\TemplateView Class Reference
Inheritance diagram for TYPO3\CMS\Fluid\View\TemplateView:
TYPO3\CMS\Fluid\View\AbstractTemplateView TYPO3\CMS\Extbase\Mvc\View\ViewInterface

Public Member Functions

 setLayoutPathAndFilename ($layoutPathAndFilename)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Fluid\View\AbstractTemplateView
 initializeView ()
 
 __construct (?RenderingContextInterface $context=null)
 
bool canRender (ControllerContext $controllerContext)
 
 setControllerContext (ControllerContext $controllerContext)
 
 setTemplate ($templateName)
 
 setTemplatePathAndFilename ($templatePathAndFilename)
 
 setTemplateRootPaths (array $templateRootPaths)
 
string[] getTemplateRootPaths ()
 
 setPartialRootPaths (array $partialRootPaths)
 
string[] getPartialRootPaths ()
 
string[] getLayoutRootPaths ()
 
 setLayoutRootPaths (array $layoutRootPaths)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Mvc\View\ViewInterface
self assign ($key, $value)
 
self assignMultiple (array $values)
 
string render ()
 

Additional Inherited Members

- ‪Protected Attributes inherited from ‪TYPO3\CMS\Fluid\View\AbstractTemplateView
TYPO3 CMS Extbase Mvc Controller ControllerContext $controllerContext
 

Detailed Description

The main template view. Should be used as view if you want Fluid Templating

Definition at line 21 of file TemplateView.php.

Member Function Documentation

◆ setLayoutPathAndFilename()

TYPO3\CMS\Fluid\View\TemplateView::setLayoutPathAndFilename (   $layoutPathAndFilename)

Sets the path and name of the layout file. Overrides the dynamic resolving of the layout file.

Parameters
string$layoutPathAndFilename‪Path and filename of the layout file

Definition at line 28 of file TemplateView.php.