public function getRowsByParentRow(Kwf_Model_Row_Interface $parentRow, $select = array()) { if (!is_object($select)) { $select = $this->select($select); } if ($select->getParts()) { throw new Kwf_Exception_NotYetImplemented('Custom select is not yet implemented'); } if (!$parentRow instanceof Kwf_Util_Model_Amazon_Products_Row) { throw new Kwf_Exception('Only possible with amazon product row'); } $pId = $parentRow->getInternalId(); $item = $parentRow->getItem(); $this->_data[$pId] = array(); foreach ($item->BrowseNodes as $n) { $this->_data[$pId][] = array('node_id' => $n); } return new $this->_rowsetClass(array('model' => $this, 'dataKeys' => array_keys($this->_data[$pId]), 'parentRow' => $parentRow)); }