[FEATURE] CurrencyViewhelper can prepend the currency sign
authorKilian Hann <khann@fconnection.com>
Fri, 13 Apr 2012 20:23:43 +0000 (22:23 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 21 Jul 2012 08:57:46 +0000 (10:57 +0200)
commit69ff5106e11f1bfc6ed804f3d0a9f8265fdc43db
tree145be614489dcf0c55782c53634a7895713e5fdd
parentca40f8a066da4ea3c849d74f68a9bc73758976c5
[FEATURE] CurrencyViewhelper can prepend the currency sign

With the flag $prependCurrency = TRUE the currency sign can be prepended
instead of appended (e.g. CHF 123.00)
The additional parameter $separateCurrency determines whether the currency
sign should be separated by a space (e.g. $123.00).

Change-Id: I5dd13de5fd40ba165fdc2dbfa17c7a6d224dc296
Fixes: #33854
Releases: 1.4
FLOW3 Issue: #36014
Reviewed-on: http://review.typo3.org/10444
Reviewed-by: Ingo Pfennigstorf
Tested-by: Ingo Pfennigstorf
Reviewed-by: Matthias Nitsch
Reviewed-by: Daniel Lorenz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/fluid/Classes/ViewHelpers/Format/CurrencyViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/CurrencyViewHelperTest.php