[+FEATURE] Fluid (Core): Add optional default-value for tag-based viewhelpers
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 11 Jun 2011 20:19:55 +0000 (22:19 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 18 Aug 2012 18:44:13 +0000 (20:44 +0200)
commit9d1f722f13c4115631ee48b1745a19de2c3cc142
treecd6be85db70a8f0b935f53b5c22a116d723014f5
parent4d2581feb1622a262acf41ac7414cd065672997b
[+FEATURE] Fluid (Core): Add optional default-value for tag-based viewhelpers

In AbstractTagBasedViewHelper there is no option for a default-value.
However registerArgument() is already capable to receive a
default-value. So the viewhelper just needs to pass it through.

Thanks to Georg Ringer

Release: 6.0
Resolves: #11419
Change-Id: Ib60efad27c7f00dd79bd781393cbe332ecbbbecf
Reviewed-on: http://review.typo3.org/2671
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractTagBasedViewHelper.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/AbstractTagBasedViewHelperTest.php