note 7775 added to Classes and Objects

From: Date: Tue, 15 Aug 2000 03:20:33 +0000
Subject: note 7775 added to Classes and Objects
Groups: php.notes 
Request: Send a blank email to php-notes+get-1876@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' ); http://www.php.net/manual/language.oop.php

« previous php.notes (#1876) next »