[FLOW3-general] Relation to singleton scope Object

Benno Weinzierl benno_weinzierl at web.de
Fri Jun 29 00:28:41 CEST 2012


Hi Sebastian,

so is it possible to store the relation to a BarStatus in a persisted
Entity?

At the moment i store the classname as a string in the Entity in a seperate
Property "currentStatusClassName" and then retrive the BarStatus with the
ObjectManager.
But this feels not very flow3 :-)

Regards, Benno



Sebastian Kurfürst <sebastian at typo3.org> wrote:
> Hey,
> 
> Am 24.05.12 13:47, schrieb "Christian Müller (FLOW3 Team)":
>> As I understand it there is something like an abstract status and then
>> classes extending from that that are all singletons, so FooStatus and
>> BarStatus.
> Then FooStatus and BarStatus should be value objects, so they can be
> re-used by the framework internally... no?
> 
> Greets,
> Sebastian


More information about the FLOW3-general mailing list