| Current Path : /var/www/surf/TYPO3/vendor/typo3/cms-fluid/Classes/View/ |
| Current File : //var/www/surf/TYPO3/vendor/typo3/cms-fluid/Classes/View/TemplateView.php |
<?php
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Fluid\View;
/**
* The main template view. Should be used as view if you want Fluid Templating
*/
class TemplateView extends AbstractTemplateView
{
/**
* Sets the path and name of the layout file. Overrides the dynamic resolving of the layout file.
*
* @param string $layoutPathAndFilename Path and filename of the layout file
*/
public function setLayoutPathAndFilename($layoutPathAndFilename)
{
$this->baseRenderingContext->getTemplatePaths()->setLayoutPathAndFilename($layoutPathAndFilename);
}
}