* this data object when it's unset or goes out of scope.
* DB_DataObject doesn't do this yet by itself.
*/
+
function __destruct()
{
$this->free();
- parent::__destruct();
+ if (method_exists('DB_DataObject', '__destruct')) {
+ parent::__destruct();
+ }
}
function &staticGet($cls, $k, $v=null)