note 14987 added to keyword.parent.php
| From: | itsbruce at netscape dot net | Date: | Thu, 23 Aug 2001 13:00:19 +0000 |
| Subject: | note 14987 added to keyword.parent.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17021@lists.php.net to get a copy of this message | ||
<p>
For al@humantouch - the behaviour you document is correct behaviour, not a bug. $this always
references the current object. If you call one of the methods of the $this object it calls the
method from the appropriate class. O-O code is dependent on that kind of behaviour.</p>
http://www.php.net/manual/en/keyword.parent.php