Article
Comments
Evan Byrne
Jan 01 2010
Not bad, but you have to make everything static if you want to be able to use it everywhere.
Jan 01 2010
Ok, it's nothing major, but here are some examples for setting and getting many (key, value) pairs.
http://dev.decafproductions.com/tree/global-data/trunk/00003/
Adam
Jan 01 2010
Hey, I went a ran with the idea and created an 'overwrite' extension on set() and then a copy function.
http://dev.decafproductions.com/tree/global-data/trunk/00002/
Look at data.class.php for the class and test.php for examples.
- Adam