[TYPO3-50-general] Last minute concept fix? Incosistent class naming for domain models ...

Bastian Waidelich bastian at typo3.org
Thu May 28 15:07:19 CEST 2009


Sebastian KurfŸürst wrote:

Hi,

>>> Hmm. Just ignore? And leave a hint that you shouldn't use models like
>>> "Try", "Default", "Case" etc.?

> Yes. I would ignore them and tell people to find a better name...

Actually it's nothing new.. You were never allowed to create a class 
called "Function" or "Foreach" ;)

But for 4.x the kickstarter should intercept when s.o. tries to setup a 
model with the name of a reserved keyword 
(http://de.php.net/manual/en/reserved.php)

Bastian


More information about the TYPO3-project-5_0-general mailing list