Make class only declare once!
| From: | Chris Doyle | Date: | Mon, 08 Jan 2001 03:12:24 +0000 |
| Subject: | Make class only declare once! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-33165@lists.php.net to get a copy of this message | ||
Hi,
Anyone know how I can make a class only declare itself once no-matter how many times I include the
file?
I need this to only run once...
class Foo_BR extends Foo_Bar{
var $Foo= "bar";
var $Bar = "Foo";
}