[Flow] Question about extending model

Peter Russ peter.russ at 4many.net
Thu May 2 13:02:17 CEST 2013


--- Original Nachricht ---
Absender:   Winfried Mingst
Datum:       02.05.2013 10:10:
> Hi,
> I tried to extend the model of class \TYPO3\Media\Domain\Model\Image by
> some additional properies.
> doctrine:update creates  my new table "File". But the resource property,
> a foreign key to typo3_resource_resouce is not created. No matter if I
> define it in class File or not.
> What I'm doing wrong?
>
>
> /**
>   * A File
>   *
>
>   * @Flow\Scope("prototype")
>   * @Flow\Entity
>
>   */
> class File extends \TYPO3\Media\Domain\Model\Image {
>
> /**
> protected myproperty1
> */
> .....

please show the model class.

Peter

-- 
Fiat lux! Docendo discimus.
_____________________________
uon GbR

http://www.uon.li
http://www.xing.com/profile/Peter_Russ


More information about the Flow mailing list