[TYPO3-mvc] FeUser / FeUserGroup

Jochen Rau jochen.rau at typoplanet.de
Thu Jul 23 16:16:52 CEST 2009


Hi Steffen.

Steffen Kamper wrote:
> Joerg Schoppet schrieb:
>>>
>>> what's the problem using these classes? They already have fe_user, so
>>> instanciate and use or extend them?
>> How should I extend both?
>>
>
> that's not possible. But again i consider this as bad technique. Let's
> say ext1 creates field fe_users.bloodtype, ext2 field fe_users.religion.
>
> With the wish of TCA->property conversion you could simply use fe_users
> model having both properties.

Mapping is not the problem. The restriction is PHP. You can not-as you 
have already pointed out-extend two classes. But it can be sinful in 
several cases.

This is my personal wish list for PHP
- Cosures (available in 5.3)
- Mixins
- Traits
- Stricty typed (just kidding ;-))

Regards
Jochen

--
Every nit picked is a bug fixed



More information about the TYPO3-project-typo3v4mvc mailing list