My Problem with sfDoctrine still exists, but my confusion got to a
higher level. ;)
$this->getUser()->getGuardUser()->getUserVitas();
Gives me a list of all Vitas, which is cool. But the indices are not
the ids, but numbered starting by 0.
If I do a
sfDoctrine::getTable('UserVita')-
>setAttribute(Doctrine::ATTR_COLL_KEY, 'id');
$this->getUser()->getGuardUser()->getUserVitas();
everything is fine. Why isn't the key automatically set to 'id' ?
Is this a bug, or a error in my configuration?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---