15 Dec
2005
15 Dec
'05
7:31 p.m.
The lookup_get() is functionally similar to the variable_get() function, except that it requires a $realm parameter:
lookup_get($realm, $name=null); // without a name, it returns a keyed array of the whole realm
My Questions:
1) There's potential overlap with variables and probably other stuff too. Is there a better way?
I think discussed adding "domains" to the variable table a while back on this list. Can't remember who was it (Adrian?), but the code was very similar to what you wrote, but was by module instead of Realm. I like Realm better since it is more generic..