[TYPO3-core] RFC: #17672: CSH - each label fires one request

Steffen Kamper info at sk-typo3.de
Tue Feb 22 14:55:46 CET 2011


Hi,

Am 22.02.2011 14:38, schrieb Peter Foerger:
> Hi,
>
> Am 19.02.11 16:41, schrieb Steffen Kamper:
>> Hi,
>>
>> as often, direct after posting found a glitch - the title was only taken
>> from alttitle.
>>
>> v2 corrects it.
>
> if (is_array($GLOBALS['TCA_DESCR'][$table])&&
> is_array($GLOBALS['TCA_DESCR'][$table]['columns'])) {}
>
> wouldn't this be sufficient:
> if (is_array($GLOBALS['TCA_DESCR'][$table]['columns'])) {}
>
> other than that +1 by reading and testing.
>
> ~Peter
>

you can do this on 234 ways :) This was taken from same loop in t3lib_BEfunc

vg Steffen


More information about the TYPO3-team-core mailing list