[FLOW3-general] Abstract classes and extending objects

Karsten Dambekalns karsten at typo3.org
Thu Nov 24 09:44:49 CET 2011


Hi.

Digging (finally) through the unread mails in this list.

On 18.08.11 01:11, Zach Davis wrote:
> I'm not positive this is what you're trying to do, but this worked for me:
 ...
>  * @DiscriminatorColumn(name="type", type="string")
>  * @DiscriminatorMap({"AccountIndividual" = "AccountIndividual",
> "AccountOrganization" = "AccountOrganization"})

Just to make sure: those two annotations are not needed, FLOW3 will
create sane defaults if not given.

If you want your hierarchy to be extensible by others, leave them out,
so FLOW3 can handle that: those need to be at the topmost class in a
hierarchy, but you don't want to edit 3rd party code to be able to
extend it...

Regards,
Karsten


More information about the FLOW3-general mailing list