note 27728 added to language.oop
| From: | components at tgdd dot com | Date: | Tue, 17 Dec 2002 04:45:41 +0000 |
| Subject: | note 27728 added to language.oop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40997@lists.php.net to get a copy of this message | ||
Reply to the post above...
Correct me if I'm wrong but, thats the great thing about OOP is the Objects hold their parent
class's charateristics. If you want what your trying to do, make a subclass and have it
inherit your super class. In the subclass overwrite the method. use b$ = new ClassB(); to get a new
template with out that method...
--
http://www.php.net/manual/en/language.oop.php
http://master.php.net/manage/user-notes.php?action=edit+27728
http://master.php.net/manage/user-notes.php?action=delete+27728
http://master.php.net/manage/user-notes.php?action=reject+27728