Post Comment Back To Article
Adam 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
Evan Byrne Not bad, but you have to make everything static if you want to be able to use it everywhere.
Adam 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/
Name
Email
Captcha Below
Website
Comments (BBCode On)
Adam
3:12 PM - January 1, 2010Hey, 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