[TYPO3-core] RFC: Bug 5550: 'lower' TCA specification may fail with non-ascii characters
Dmitry Dulepov
9f4eetb02 at sneakemail.com
Mon May 7 16:33:19 CEST 2007
Martin Kutschker wrote:
> +1, but I note that you use "$LANG". AFAIR the seem to be a preference
> for $GLOBALS['LANG'] if the object is not used very often (more than 4
> times???).
I used that in the very first version but then I decided that
$LANG->csConvObj->conv_case($LANG->charSet, $value, 'toUpper');
is a little easier to understand than
$GLOBALS['LANG']->csConvObj->conv_case(
$GLOBALS['LANG']->charSet, $value, 'toUpper');
It makes exactly 4 times in the code.
I am also in favor of $GLOBALS (because it is easier to track) but here
are went for more simple code.
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-team-core
mailing list