[+FEATURE] Fluid (Core): {settings} is available in Partials
authorSebastian Kurfürst <sebastian@typo3.org>
Wed, 22 Sep 2010 06:27:58 +0000 (06:27 +0000)
committerSebastian Kurfürst <sebastian@typo3.org>
Wed, 22 Sep 2010 06:27:58 +0000 (06:27 +0000)
commitdc77ba679530634d4a6b520bf6317fa5caa83d6a
treed546ceba59a890469d483c19df1d341fa843d8cd
parent78c7878ddc4636f855c2e20e2f66d4ec7e636308
[+FEATURE] Fluid (Core): {settings} is available in Partials

Now, the {settings} are automatically available in partials and sections.
Before, they had to be passed explicitely, i.e. by calling
<f:render section="..." arguments="{settings: settings}" />.

If somebody defined his own "settings"-argument, this still takes precedence:
<f:render section="..." arguments="{settings: some.different.settings}" />
This means that this change is completely backwards compatible.

NOTE: The settings are NOT merged together, like it has been suggested in #6289,
as this will lead to un-obvious behavior for the user.
typo3/sysext/fluid/Classes/ViewHelpers/RenderViewHelper.php