RE: [PHP] Class rules

From: Date: Wed, 18 Feb 2004 11:34:18 +0000
Subject: RE: [PHP] Class rules
Groups: php.general 
Request: Send a blank email to php-general+get-178089@lists.php.net to get a copy of this message
On 17 February 2004 22:02, Alex Hogan contributed these pearls of wisdom: > Hi All, > > > > What are the rules of thumb for classes and included files? > > > > Can I not include a file in a class function? No. The entire class has to be in the same file (and inside a single set of <?php ?> tags). See the Warning at http://www.php.net/manual/en/language.oop.php Cheers! Mike -- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#178089) next »