in reply to Re: Re[5]: Inheritance and objects tied to a database
in thread Inheritance and objects tied to a database
That way when the DESTROY method gets called for the parent, it finds that the data is undefd, and does nothing.
Alternatively, always untie the parent's data first, then the child's, again testing defined and that should get you round the problem.
Not sure if either of those methodologies are the best, though.
Hope that helps
-- Foxcub
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re[7]: Inheritance and objects tied to a database
by relax99 (Monk) on Dec 20, 2002 at 14:06 UTC |