Jump to content

How To Store An Object?


efolia

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.
___________________________
Link to comment
https://forums.phpfreaks.com/topic/13100-how-to-store-an-object/
Share on other sites

Archived

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

×
×
  • Create New...

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.