[FLOW3-general] Flow 3 Resources: relation information for originalResource
David Sporer
david.sporer at gmail.com
Mon Feb 11 09:02:40 CET 2013
Hi Stephen,
I'm still using FLOW3 so you need to change the namespace but it should
look like this:
/** * @var \TYPO3\FLOW3\Resource\Resource *
@ORM\ManyToOne(targetEntity="\TYPO3\FLOW3\Resource\Resource")
*/ protected $background;
Best regards
David
--
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>
2013/2/11 Stephen Bungert <stephenbungert at yahoo.de>
> Hello!
>
> I have been looking at this documentation about how to use resources in
> flow3. On this page
>
>
> http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartIII/ResourceManagement.html
>
> The definition for the property originalResource is:
>
> /**
> * @var \TYPO3\Flow\Resource\Resource
> */
> protected $originalResource;But flow3 outputs an error saying that
> relation information isn't included for this property. and that it should
> be
> onetoone.I tried setting it as onetoone but still get the error, are there
> any examples of the annotations required to get use resources?I think maybe
> the above mentioned page is out of date?Thanks.Stephen.
>
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>
More information about the FLOW3-general
mailing list