rule is the first rule in the $_referenceMap array that
references the specified table class.
Regards,
Bill Karwin
-Original Message-
From: agatone [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 12:42 AM
To: fw-general@lists.zend.com
Subject: [fw-general] Zend_Db (Table-Row
Fetching realted row should be something like this (if i'm not wrong)
?php
$bugsTable = new Bugs();
$bugsRowset= $bugsTable-fetchAll();
foreach ($bufRowset as $bug1) {
$reporter = $bug1-findParentAccounts();
}
?
My question is: Is there already somekind of function
@lists.zend.com
Subject: [fw-general] Zend_Db (Table-Row)
Fetching realted row should be something like this (if i'm
not wrong) ?php
$bugsTable = new Bugs();
$bugsRowset= $bugsTable-fetchAll();
foreach ($bufRowset as $bug1) {
$reporter = $bug1-findParentAccounts
I'm sorry ... I'll try to explain it a bit better.
Let's say we have table NEWS with fields id, title, content, rel_author_id,
rel_category_id.
So fetching all news would look something like this:
?php
$news = new News();
$newsRowset = $news-fetchAll();
?
Now every news has author, who's