Date index for Aug 2002
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [achievo] [DEV] atkManyToOneRelation
When I run the new code, the parent routine produces the error:
"Fatal error: cannot instantiate non-existent class atkonetomanyrelation"
and points to the line in the code where:
$this->add(new
atkOneToManyRelation("Technology_SubClasses","Technnology_SubClasses","Techn
ology_ParentClass_ID"));
Parent table is Technology_Classes
Technology_Class_ID int/PK
Technology_Class_Desc vchar
Child table is Technology_SubClasses
Technology_SubClass_ID int/PK
Technology_ParentClass_ID int
Technology_SubClass_Desc vchar
In the class.Technology_SubClasses.inc the line exists:
$this->add(new atkManyToOneRelation
("Technology_ParentClass_ID","Technology_Classes"));
So to my understanding, the error indicates the foundation class for
atkOneToManyRelation
isn't found. So I ADDED the lines at the top of both classes:
useattrib("atkonetomanyrelation");
useattrib("atkmanytoonerelation");
But that doesn't change anything, unless its caused by something being
cached in my browser.
Any thoughts?
Thanks.
Dave
-----Original Message-----
From: Ivo Jansch [http://www.achievo.org/ ]
[ to unsubscribe send an e-mail to achievo-unsubscribe dot