Re: [PHP4BETA] Abstract Classes

From: Date: Fri, 28 Jan 2000 21:04:37 +0000
Subject: Re: [PHP4BETA] Abstract Classes
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-9542@lists.php.net to get a copy of this message
----- Original Message ----- From: Ken Leshner <kleshner@spyral.net> To: Kevin Morris <kevinmorris@anaerobesystems.com> Cc: <php4beta@lists.php.net> Sent: Friday, January 28, 2000 12:14 PM Subject: Re: [PHP4BETA] Abstract Classes > > Are their any plans for abstract classes in php4? This would facilitate > > designing resusable packages and implementing design patterns without > > inconveniencing those not wishing to take an object oriented approach to > > their php scripts... > > An abstract class is designed specifically as a class from which > other classes can be derived. It is incomplete and only the > classes derived from it can be instantiated. > And further, in a well written OOP language, classes derived from an abstract class MUST override the methods stated in the abstract class. If you're telling me php4 can do this, I'm brimming with geek excitement. What's the syntax? Thanks, Kevin > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net

« previous php.version4 (#9542) next »