[TYPO3-core] RFC: #9674: TCEmain changes for new improved record recycling concept

Xavier Perseguers typo3 at perseguers.ch
Tue Nov 18 15:44:11 CET 2008


Hi Julian,

> What methodname is better in your eyes ? I took the core methods that 
> start with a "can*" (tcemain: cannotDeleteRecord for example) as a role 
> model, which themselves also return either false or a string with the 
> error description - my method does the same.

I think now it's OK with description. I'm not sure but I think that the 
phpDoc should specify "mixed" as returned type instead of string or 
boolean as it depends. Don't know if the core does the same or not.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html


More information about the TYPO3-team-core mailing list