[+FEATURE] Fluid (View): Fluid Standalone view
authorBastian Waidelich <bastian@typo3.org>
Tue, 26 Oct 2010 14:27:29 +0000 (14:27 +0000)
committerBastian Waidelich <bastian@typo3.org>
Tue, 26 Oct 2010 14:27:29 +0000 (14:27 +0000)
commit5362c07891b5a302a1a71ad7655cfcb4c2708573
tree5efaad05c8c47e841ea55ba1c75aeda9ddda745e
parentcd224a63abd350a2a3137c4087508d4de94faeeb
[+FEATURE] Fluid (View): Fluid Standalone view

In order to be able to use Fluid templates beyond the Extbase plugin context
(e.g. to render E-Mail templates or to use the new FLUIDTEMPLATE content object)
we created a new template view, that encapsulates inner workings and provides
an easy-to-use API:

$view = t3lib_div::makeInstance('Tx_Fluid_View_TemplateView');
$view->setTemplatePathAndFilename('foo/Bar.html');
print $view->render();

Note: This has to be *forward ported* still

This relates to #10473
typo3/sysext/fluid/Classes/View/StandaloneView.php [new file with mode: 0644]
typo3/sysext/fluid/Tests/Unit/View/Fixtures/LayoutFixture [new file with mode: 0644]
typo3/sysext/fluid/Tests/Unit/View/Fixtures/LayoutFixture.xml [new file with mode: 0644]
typo3/sysext/fluid/Tests/Unit/View/Fixtures/StandaloneViewFixture.html [new file with mode: 0644]
typo3/sysext/fluid/Tests/Unit/View/StandaloneViewTest.php [new file with mode: 0644]
typo3/sysext/fluid/ext_autoload.php