[FEATURE] Function for correct item label in BE
authorGeorg Ringer <mail@ringerge.org>
Fri, 27 Jul 2012 13:21:18 +0000 (15:21 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sat, 18 Aug 2012 22:30:24 +0000 (00:30 +0200)
commitc2d437e015fec88ce97a6b5ef8c05010c3d826ed
treed228e0dc61b65d13870c2effd9e1218d83aeb44b
parent33d136ae96d81b10acce93d2b9932a57630596ba
[FEATURE] Function for correct item label in BE

The function t3lib_befunc::getLabelFromItemList() gets you the label of
a tca field in the BE. This works nicely but ignores changes done with
TsConfig with code like
TCEFORM.<table>.<field>.addItems.<key> = New value or
TCEFORM.<table>.<field>.aldLabels.<ke> = Change me

The new function will handle it all

Change-Id: Ifd99d321943d72ecb4e16c4974aaa8cddf481b2f
Resolves: #39327
Releases: 6.0
Reviewed-on: http://review.typo3.org/13098
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
t3lib/class.t3lib_befunc.php
tests/Unit/t3lib/class.t3lib_befuncTest.php