DB_DataObject linking: is it only good for single row joins?
| From: | Mike Zornek | Date: | Fri, 07 May 2004 15:09:54 +0000 |
| Subject: | DB_DataObject linking: is it only good for single row joins? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-12348@lists.php.net to get a copy of this message | ||
I have a table called member and another called email. The basic idea is
that each member can have one or more emails. I'm using DB_DataObject and am
beginning to think that it's facilities for links and joins is only useful
for single row joins. Is this true or am I just not understanding the
documentation?
If this is the case I'm wondering what my options are and if others have
advise. I suppose I could override the constructor of member to assign an
array variable inside of the member, with a listing of the email_ids I'll
need later in the script.
Any thoughts?
~ Mike
-----
Mike Zornek
Web Designer, Media Developer, Programmer and Geek
Personal site: <http://MikeZornek.com>
New Project: <http://WebDevWiki.com>