On 4 mai, 12:58, "Tristan Rivoallan" <[EMAIL PROTECTED]>
wrote:
> you have to change peer_method used to select records to
> 'doSelectWithI18n' so that joins with the i18n table are done.
I change my __toString() function in Speciality.php by:
public function __toString()
{
$c = new Criteria();
$c -> add(SpecialityPeer::ID, $this->getId());
$result = SpecialityPeer::doSelectWithI18n($c);
return $result[0] -> getSpeciality();
}
but it doesn't neither ... what's wrong with that ? I try with another
i18n table and it seems to work !
What I have to do more ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---