[FLOW3-general] Re: Own User-Model (instead of Party)

Widmer Cornel cornel at kollerinternet.ch
Fri Feb 22 10:52:00 CET 2013


Hi David

Yes ... extending the Party-Model would be a solution. But I wanted to have my own class. This might be some kind of extra ordinary.

Anyway, thanks for your reply.


Quote: David Sporer wrote on Fri, 22 February 2013 10:42
----------------------------------------------------
> Hi,
> 
> of course it's possible.
> Just extend the Party-Model like you would do in other Object oriented
> programming languages.
> You are able to extend the party-model by your needs afterwards.
> 
> /** * A user account that has all features of the party model * *
> @FLOW3\Scope("prototype") * @FLOW3\Entity */class CustomUser extends
> \TYPO3\Party\Domain\Model\Person {
> 
> 
> }
> 
> 
> Regards
> 
> David
> 
> 
> 
> 2013/2/22 Widmer Cornel <cornel at kollerinternet.ch>
> 
> > Hi there...
> >
> > I'm getting started with Flow a short time ago, but used Extbase/Fluid for
> > a while.
> > In my first Project I want to use my own "Party"-Model to link some more
> > Information to the Account.
> >
> > Is this possible at all? I'm having serious problems to get this things
> > working.
> >
> > I could provide you with some code (User Model Class) if required...
> > ______________________________**_________________
> > FLOW3-general mailing list
> > FLOW3-general at lists.typo3.org
> > http://lists.typo3.org/cgi-**bin/mailman/listinfo/flow3-**general<http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general>
> >
> 
> 
> 
> -- 
> If you're interested in my work you can follow me or my current project
> @sporerd <https://twitter.com/sporerd> and
> @PasscreatorDe<https://twitter.com/PasscreatorDe>
----------------------------------------------------




More information about the FLOW3-general mailing list