Hi,

I wonder if CakePHP has any support for domain maps, i.e. fixed lists
of key/value pairs that CakePHP 'knows' how to translate between.
Classic examples are Y/N for Yes/No and M/F for Male/Female.

The only way I see now is to use an HTML Helper and do the translation
in the view, but that way I am duplicating myself for each and every
time I use a Yes/No field.

Anyone?

TIA,

Martin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to