Hi all. Just asking to rely on the wisdom of those with greater
experience than me. My Settings model has fields id, group, key, and
value, while my SettingOptions model has fields id, group, key, type,
and default. My intent is to use the data available in the
setting_options table to validate correct value types being saved to
the settings table on the fly - these then will be read elsewhere.  My
problem is - I don't know how to bind the two tables. I could implode
('.', array($group, $key)) before storing in the table, but I fear
maintenance issues later. Any advice or suggestions from the great old
ones? (Obviously I'd like to keep clear of a static class variable
with ClassRegistry::init.)

--
Thanks in advance,

Michaelc

--~--~---------~--~----~------------~-------~--~----~
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