title: Zend Framework Relationships - findDependentRowset
body: <p>When I call the method findDependentRowset, the returning rowset contains all the rows in the dependent table, and not only the rowsets that matches the reference.</p>
  
  <p>Hoping someone could explain this, since I was of the assumption that findDependentRowset would only return rowset matching my 'rule'?</p>
  
  <p>I have the following DbTable Models:</p>
  
  <pre><code>class Model_DbTable_Advertisement extends Zend_Db_Table_Abstract
  {
      protected $_name = 'Advertisements';
      protected $_primary = 'Id';
  
      protected $_dependentTables = array (
          'Model_DbTable_Image',
      );
  }
  
  class Model_DbTable_Image extends Zend_Db_Table_Abstract
  {
      protected $_name = 'Images';
      protected $_primary = 'Id';
  
      protected $_referenceMap = array(
          'Images' =&gt; array(
              'column' =&gt; 'AdvertisementId',
              'refColumn' =&gt; 'Id',
              'refTableClass' =&gt; 'Model_DbTable_Advertisement',
          )
      );
  
  }
  </code></pre>
  
  <p>Now when i execute the following: (Simplified for Question sake)</p>
  
  <pre><code>$model = new Model_DbTable_Advertisement();
  $rowSet = $model-&gt;fetchAll();
  $row = $rowSet-&gt;current();
  $dRow = $row-&gt;findDependentRowset('Model_DbTable_Image');
  </code></pre>
  
  <p>I would expect $dRow to only contain 'Images' that has the same advertisementId as $row, but instead i receive all rows in the Images table.</p>