note 51199 deleted from language.oop5.decon by felipe
| From: | felipe@php.net | Date: | Sat, 15 Dec 2007 01:29:37 +0000 |
| Subject: | note 51199 deleted from language.oop5.decon by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133496@lists.php.net to get a copy of this message | ||
Note Submitter: miguel dot simoes at newnet dot com dot pt
----
In the PHP documentation example you can change the class name under $this->name =
"ClassName" with $this->name = __CLASS__;
This way you'll have a starting point for having a dinamic content even inside PHP code and
providing a good base for having a "Class template" with __construct and __destruct.