[TYPO3-50-general] Magic Get too magic?
joerg at schoppet.de
Fri Feb 23 10:16:01 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Robert Lemke wrote:
> Now, before I remove that magic from TYPO3 - what do you think about
> magic Getters and Setters?
For this kind of cases I would also recommend to delete them, but ...
IMHO, there is one big point, where the magic methods get important:
I'm actually working on a replacement of XCLASSES in TYPO3 < 5, where I
use the principle of delegation and there primary the magic-method
"__call" is a must.
So, if you don't plan to use this design-pattern definitly in the
future, you can add the ban of magic-methods in the coding-guide.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the TYPO3-project-5_0-general