I have an event entity and a user entity with an unidirectionnal many to many relation between them. When, I created the event entity with the generator (doctrine:generate:entites) the getteur called
I\'ve been reading about Doctrine for a while now and it surely looks interesting. I have read through most of the tutorials on phpandstuff.c开发者_如何学JAVAom, but I realise they\'re way outdated a
i tried to implement the file upload via doctrine/lifecycle callbacks as described here: http://symfony.com/doc/current/cookbook/doctrine/file_uploads.html#using-lifecycle-callbacks
I have two entities: AudioPlaylist and AudioTrack. AudioPlaylist.php: /** * @ORM\\ManyToMany(targetEntity = \"AudioTrack\", inversedBy = \"audioPlaylists\")
I would like to get the \'real\' SQL Query doctrine is passing to the SQL Server: <?php $em = $this->getDoctrine()->getEntityManager();
Is it po开发者_开发问答ssible after a Map/Reduce with Doctrine to get a collection of entities ?
A friend of mine and me are working on a mult开发者_开发知识库ilingual web-application for storing recipes. We use Doctrine 2.1.1 for persistence. At the moment I stuck generating models for an entity
I have an Event, that has a Privilege and this Privilege references a User. I\'m trying to get all the events associated with a User, but I can\'t seem to get doctrine working as I\'d like.
I have this situation: Abstract Class: abstract class AbstractBase { /** * @ORM\\Id * @ORM\\GeneratedValue * @ORM\\Column(type=\"integer\")
I know I can always set a unique DB key using MYSQL schema however was just curious if ORM\'s like doctrine allowed you to set a column to be unique in code?