note 60206 added to language.oop5.autoload
| From: | dave60/at/gmail/dot/com at osu1 dot php dot net | Date: | Thu, 29 Dec 2005 21:25:53 +0000 |
| Subject: | note 60206 added to language.oop5.autoload | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-100954@lists.php.net to get a copy of this message | ||
In reply to quetzalcoatl:
Generally, I would advise for each class to have it's own file, and hold nothing besides that
class. Just define __autoload() in a/the infrastructure file -- a/the file that does the behavioral
logic, and there should be no need to redefine it in a class' file.
----
Manual Page -- http://www.php.net/manual/en/language.oop5.autoload.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60206
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60206&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60206&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60206&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60206&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60206&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60206&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60206&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60206&report=yes
Search -- http://master.php.net/manage/user-notes.php