Re: php5 and object
| From: | raditha dissanayake | Date: | Thu, 29 Jul 2004 01:04:51 +0000 |
| Subject: | Re: php5 and object | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192138@lists.php.net to get a copy of this message | ||
Curt Zirzow wrote:
* Thus wrote Stephen Sadowski:Abstract classes can contain code - but abstract methods cannot. -- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 128 KB | with progress bar.http://us4.php.net/manual/en/language.oop5.abstract.php The short is that you can't do anything more than define a function in an abstract class.Negative. It is perfectly fine to have code within an abstract class. The documentation needs to get expanded a little bit to define exactly how an for what use an abstract class can be used. indeed.