Quanano

The Wirral

livepointuk.com

Age: 32

Technical Director - Livepoint Software Solutions - Web Application Software House - Building on Symfony2, ZF and Doctrine ORM

Jun
10
awarded Autobiographer
Jun
6
comment Extending a Doctrine entity to add extra association mapping in Symfony2
I was trying to not have to add configuration to the original User. What I have done so far is just associate a user and their skills through a separate table and then get users by grouping on the userid. It is not ideal because I have to get the user from the userSkills entity rather than directly being able to do $user->getSkills(); Instead it will have to be $userSkill->getUser()->getSkills().
Jun
6
comment Extending a Doctrine entity to add extra association mapping in Symfony2
Isn't the idea of STI to use a discriminator column, e.g. Worker extends Person, Manager extends Person would result in doctrine putting a column in to mark Worker and Manager as different. This is not the same as just adding some associations to the Person for use in one bundle without affecting the original bundle.
Jun
6
awarded Autobiographer
Jun
6
comment Extending a Doctrine entity to add extra association mapping in Symfony2
Would user then have to be a mapped superclass also in that case?
Jun
6
asked Extending a Doctrine entity to add extra association mapping in Symfony2
Dec
21
awarded Popular Question
Jan
31
answered Adding custom function to doctrine query builder group by clause
Jan
28
awarded Tumbleweed
Jan
21
revised Adding custom function to doctrine query builder group by clause
edited tags
Jan
21
asked Adding custom function to doctrine query builder group by clause
Aug
22
awarded Revival
Jun
20
awarded Editor
Jun
20
revised CentOS - Add additional hard drive raid arrays on Dell Perc 5/i card
added 306 characters in body
Jun
20
awarded Student
Jun
20
awarded Autobiographer
Jun
19
awarded Editor
Jun
19
awarded Student
Jun
19
awarded Autobiographer
Jun
19
asked CentOS - Add additional hard drive raid arrays on Dell Perc 5/i card
1 2 3