note 51199 added to language.oop5.decon

From: Date: Wed, 23 Mar 2005 12:01:20 +0000
Subject: note 51199 added to language.oop5.decon
Groups: php.notes 
Request: Send a blank email to php-notes+get-86836@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/language.oop5.decon.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51199 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51199&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51199&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51199&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51199&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51199&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51199&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86836) next »