[TYPO3-core] RFC #14313: Class prefix problem in getUserObj and callUserFunction (t3lib_div)

Steffen Kamper info at sk-typo3.de
Tue Jan 18 19:20:19 CET 2011


Hi,

Am 18.01.2011 19:13, schrieb Georg Ringer:
> Am 18.01.2011 19:13, schrieb Steffen Kamper:
>> Hi,
>>
>> as this is indeed the case i suggest to add a function
>> t3lib_div::getValidClassPrefix and do it there, change other checks of
>> 'tx_' to use this function. That sounds like the most clear solution.
>
> again t3lib_div?
>

yes, this is the class for instancing classes, so matches perfect.

and, adding 3 lines that are necessary doesn't harm instead duplicate 
code at 10 other places.

vg Steffen



More information about the TYPO3-team-core mailing list