[TYPO3-dev] UperCamelCase class prefix in hooks

Andreas Kiessling kiessling at pluspol.info
Thu Apr 14 16:14:01 CEST 2011


Hi,

>
> Here we go. Pushed it gerrit:
> http://review.typo3.org/1609
> It's a no-brainer!

There are quite some places, where the prefix is checked for "tx_", not 
only at that place, e.g. in TCEForms. I posted a patch to the core list 
a while back and tried to fix all those (have a look at RFC #14313, v2) 
and unify the check for valid prefixes.
http://lists.typo3.org/pipermail/typo3-team-core/2011-January/048525.html


What i somewhat fear: older TYPO3 Versions only accept "tx_". So even if 
you don't intend to make an extension incompatible, using Tx_ as a 
prefix will just do that. The patch should at least go to 4.5

Regards and thanks for bringing the topic up again,
Andreas




More information about the TYPO3-dev mailing list