[FEATURE] stdWrap for string-padding (like PHP-function str_pad)
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 20 Aug 2012 14:40:45 +0000 (16:40 +0200)
committerDmitry Dulepov <dmitry@typo3.org>
Tue, 4 Dec 2012 11:11:20 +0000 (12:11 +0100)
commitccb1d71116496aa5c625bbe7dcd490e488e047a1
treef64a6b32db27b2aacf50c2ad6afb3e392faf35e0
parent3759059d481b332f33fb6c1210f5d56c489f9c2e
[FEATURE] stdWrap for string-padding (like PHP-function str_pad)

Name is .strPad to follow usual TypoScript-syntax.
Parameters:
* left (number)
* padWith (string; default: space)
* type (left, right, both; default: right)

Change-Id: Iedb29a774b6a696b9f3de09049ba9da5a75cd9b8
Resolves: #40001
Releases: 6.1
Reviewed-on: http://review.typo3.org/13969
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php