<?xml version="1.0"?>
<?xml-stylesheet 
 href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/10858/bug">
    <title>PEAR Bug #10858</title>
    <link>http://pear.php.net/bugs/10858</link>
    <description>[Open] joinAdd function</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bugs/10858"/>
      <rdf:li rdf:resource="http://pear.php.net/bugs/10858/2007-04-27+08%3A13%3A34#2007-04-27+08%3A13%3A34"/>
     </rdf:Seq>
    </items>
  </channel>
    <item rdf:about="http://pear.php.net/bugs/10858">
      <title>banquette</title>
      <link>http://pear.php.net/bugs/10858</link>
      <description><![CDATA[<pre>DB_DataObject Feature/Change Request
Reported by banquette
2007-04-27T10:32:46-00:00
PHP: 5.2.1 OS:  Package Version: 

Description:
------------
I d like to use the joinAdd method with a hard coded query like joinAdd(&quot;LEFt JOIN ...&quot;); I did not find a way to pass throught a table ; i mean when a table is not directly &quot;connected&quot; to another.

Test script:
---------------
&lt;-&gt; means a relationship between table (FK/PK)

table0 &lt;-&gt; table1 &lt;-&gt; table2 &lt;-&gt; table3
One can query table1 with a joinAdd on table0 and/or table2 but not with a joinAdd on table3 as there is no direct relationship. To do such a thing query must actually be hard coded... or I did not find the solution ...
That s why I want a &quot;joinAdd(string $join)&quot; : to keep advantage of methods like selectAdd() to avoid a hard coded query.

Thanks.</pre>]]></description>
      <content:encoded><![CDATA[<pre>DB_DataObject Feature/Change Request
Reported by banquette
2007-04-27T10:32:46-00:00
PHP: 5.2.1 OS:  Package Version: 

Description:
------------
I d like to use the joinAdd method with a hard coded query like joinAdd(&quot;LEFt JOIN ...&quot;); I did not find a way to pass throught a table ; i mean when a table is not directly &quot;connected&quot; to another.

Test script:
---------------
&lt;-&gt; means a relationship between table (FK/PK)

table0 &lt;-&gt; table1 &lt;-&gt; table2 &lt;-&gt; table3
One can query table1 with a joinAdd on table0 and/or table2 but not with a joinAdd on table3 as there is no direct relationship. To do such a thing query must actually be hard coded... or I did not find the solution ...
That s why I want a &quot;joinAdd(string $join)&quot; : to keep advantage of methods like selectAdd() to avoid a hard coded query.

Thanks.</pre>]]></content:encoded>
      <dc:date>2007-04-27T10:32:46-00:00</dc:date>
    </item>
    <item rdf:about="http://pear.php.net/bugs/10858/2007-04-27+08%3A13%3A34#2007-04-27+08%3A13%3A34">
      <title>banquette [2007-04-27 12:13]</title>
      <link>http://pear.php.net/bugs/10858#1177676014</link>
      <description><![CDATA[<pre>I forgot to say I use an array as argument of joinAdd for instance : 
$obj-&gt;joinAdd(array('fk_id','table'.':'.'id'),'left');</pre>]]></description>
      <content:encoded><![CDATA[<pre>I forgot to say I use an array as argument of joinAdd for instance : 
$obj-&gt;joinAdd(array('fk_id','table'.':'.'id'),'left');</pre>]]></content:encoded>
      <dc:date>2007-04-27T12:13:34-00:00</dc:date>
    </item>
</rdf:RDF>