[TYPO3-mvc] Extending an existing model and adding fields

Zoran Zaric lists at zoranzaric.de
Wed Dec 22 19:56:11 CET 2010


On 22.12.2010 18:54, Franz Koch wrote:
> Hey,
>
>> I'm going to extend Tx_Extbase_Domain_Model_FrontendUser. Basically what
>> the blog example does with it's administrator. I'd like to add some
>> fields though and am not sure how to do so.
>>
>> Any hints?
>
> you can only do this by extending the FrontentUser class and add the
> new fields in your own class and use this class throughout your
> extension. Mixins (which would be needed to merge additional fields in
> existing classes) are not supported yet.
>
This is exactly what i plan to do.  I'm not sure what to store in my
model's table though.

Thanks,
Zoran


More information about the TYPO3-project-typo3v4mvc mailing list