My question is quite simple but I can\'t manage to find an answer. When I execute a query like: $query->select(\'t2.name as t2_name, t1.name as t1_name\')
I am setting 1 row per page in symfony pager but its showing more data than 1. It is because my query is left joining the sfGuardUser table with other tables and it is causing duplication of \'sfGuard
I can\'t get APC to work properly with my Zend+Doctrine application. When I turn APC on I get the error:
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?
Is there a standard way to document the expected class of entities inside a Collection in the docblock comment in a Doctrine project? Something like:
I have a registration form that includes sfRegistration and sfProfile, which after completion, get\'s redirected to another form - to determine the user\'s corporation and is a seperate module.The sfP
I have two table: Name id | name | city_id 1| aaa| 1 2| vvv| 2 3| ddd| 2 4| sss| 3 5| dds| 1 etc City: id | name
Assume that i have an association mapping in Doctrine2. How to define that i need to fetch all associated objects while querying the main one?
public function executeShow(sfWebRequest $request) { $this->category = $this->getRoute()->getObject();