From: Michael P. <mp...@pl...> - 2008-01-24 17:43:21
|
I'm in the process of changing on of my elements. It's a Storable element and it's currently represented as an array. I now need it to be a hash. My main concern is being able handle currently existing elements of this type. That include what's in the element DB table as well as things that are part past versions of stories. I'm thinking of overriding Krang::ElementClass::Storable's thaw_data() and freeze_data() to accept an array and convert it into the has I need. Does this make sense? -- Michael Peters Developer Plus Three, LP |