JimEkleberry
Programmer
Okay, I have a very wierd problem that I am hoping you can help me out with.
I have a user class and an address class that extends the user class.
I have a classes.php file that loads all of the classes. When I attempt to add the address class everything stops. When the address class isn't loaded everything works.
Simple enough; something is wrong with the address class. The catch part is that the address class currently consists of:
which means it is nothing more than a constructor. Even removing the constructor so that only the class line is present still causes everything to fail.
Any ideas on wtf is going on and how to resolve them would be greatly appreciated.
BTW, is there a limit to the number of classes that can be loaded? I have 4 classes loading before this one but didn't think that would be related to the problem.
I have a user class and an address class that extends the user class.
I have a classes.php file that loads all of the classes. When I attempt to add the address class everything stops. When the address class isn't loaded everything works.
Simple enough; something is wrong with the address class. The catch part is that the address class currently consists of:
Code:
<?php
class Address extends User {
// Methods:
// void Address ([object parent [, array attributes]])
// This is the constructor method for the Address class.
// It passes its arguments to the Base class constructor
// (defined in base.php) to set properties for the object.
function Address ($parent="",$atts="") {
$this->Base($parent,$atts);
}
}
?>
which means it is nothing more than a constructor. Even removing the constructor so that only the class line is present still causes everything to fail.
Any ideas on wtf is going on and how to resolve them would be greatly appreciated.
BTW, is there a limit to the number of classes that can be loaded? I have 4 classes loading before this one but didn't think that would be related to the problem.