The documentation also includes the API-documentation www.doctrine-project.org/api/orm/2.2/ and the code. If you cannot find is ready-made in the documentation, then look at the API and code, experiment with it, look at what the error-messages tell you, improve your code and then: contribute to the missing documnetation. Only after having tried it and having worked on it and not seeing any solution anymore, then eventually post to this mailing list. Don't expect from us to have all the knowledge at hand; I would have to look it up myself too... and so can you. Good luck!
*- Herman* On Tuesday, 4 February 2014 22:23:06 UTC+1, Parsifal wrote: > > > I added this array in my php entities to map my tables and this worked > fine: > $metadata->mapManyToOne(array( 'fieldName' => 'blah', > 'targetEntity' => 'Entities\\blah', > 'inversedBy' => 'blah', > 'mappedBy' => 'blah', > 'joinColumns' => array( 0 => array( 'name' > => 'blah', > > 'referencedColumnName' => 'id', > > 'nullable' => true, > > 'columnDefinition' => NULL, > ), ) > > )); > just wanted to ask: > 1) The array keys/structure is the same for other mapOneToMany, > mapManyToMany, mapOneToOne things? > 2) I see joinColoumns gets an array itself, does it mean that is possible > to use the same mapManyToOne to create other table dependencies? > Please let me know as there is nothing in documentations. > > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/groups/opt_out.
