Hi guys,
i am trying to create references between my model classes based on
Zend_Db_Table_Abstract but it does not function. I donĀ“t know why and so
I hope
someone of you guys can help me :-)
_I have 2 simple tables:_
flabben.article (id, [...], author_id)
flabben.author (id, [...])
*File:*
Jan Pieper wrote:
$article-findDependentRowset('Author');
But the result is an Exception :(
Zend_Db_Table_Exception: No reference from table Author to table Article
In you example, a foreign key in Article references a primary key in Author.
So Author is the parent, Article is the
Yeah, this works fine :-)
-- Jan
Jan Pieper wrote:
$article-findDependentRowset('Author');
But the result is an Exception :(
Zend_Db_Table_Exception: No reference from table Author to table Article
In you example, a foreign key in Article references a primary key in Author.
So Author