In my app, I have some database tables with language specific fields.

For example: name_fr, name_en

I want to set the displayField property of my model to use the proper
field according to the language selected by the user.

Is there a way to set this property globally (in the model) without
having to declare it each time in my controller?
I have a global "lang" variable declared in my controller but I don’t
think I can access it from the model.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to