EvanBot Robot

Comments (3)

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

3:12 PM - January 1, 2010

Evan Byrne

Not bad, but you have to make everything static if you want to be able to use it everywhere.

3:29 PM - January 1, 2010

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/

3:52 PM - January 1, 2010

Post Comment

Capcha