note 7775 rejected from language.oop by sander
| From: | sander@php.net | Date: | Sat, 06 Apr 2002 18:51:15 +0000 |
| Subject: | note 7775 rejected from language.oop by sander | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28728@lists.php.net to get a copy of this message | ||
An undocumented requirement of subclassing is that you must use the phplib require() and include the
base class.
In the above example, the code for class Named_Cart should include the following line:
require( 'Cart.php' );