in reply to Re: Re: Inheritance and objects tied to a database
in thread Inheritance and objects tied to a database
Since the child is initialized with the attribute values of the parents, it "inherits" a reference to the tied variable, so parent and child share the same data. Untieing one is untieing the other.
Hope this helps, -gjb-
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Inheritance and objects tied to a database
by relax99 (Monk) on Dec 20, 2002 at 13:22 UTC | |
by gjb (Vicar) on Dec 20, 2002 at 13:26 UTC | |
by relax99 (Monk) on Dec 20, 2002 at 14:02 UTC | |
by Tanalis (Curate) on Dec 20, 2002 at 13:27 UTC | |
by relax99 (Monk) on Dec 20, 2002 at 13:47 UTC | |
by Tanalis (Curate) on Dec 20, 2002 at 13:57 UTC | |
by relax99 (Monk) on Dec 20, 2002 at 14:06 UTC |