Jump to content

Archived

This topic is now archived and is closed to further replies.

efolia

How To Store An Object?

Recommended Posts

EDITed out.
I figured it out. :-)
I wrote a method to save and restore the state of the (and only the) dynamically assigned variables so they can be stored in a mySQL table and restored later. It's the only way, since the class itself (XTemplate, in this case) is using too many internal variables (including referenced and recursive data) to make using get_object_vars() or serialize() a practical option.
___________________________

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.