Re: [PHP4BETA] Abstract Classes From: Kevin Morris (kevinmorris <email protected>)
Date: 01/28/00

----- Original Message -----
From: Ken Leshner <kleshner <email protected>>
To: Kevin Morris <kevinmorris <email protected>>
Cc: <php4beta <email protected>>
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 <email protected>
> For additional commands, e-mail: php4beta-help <email protected>
> To contact the list administrators, e-mail: php4beta-admin <email protected>

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>