*/ class Mage_Sales_Model_Entity_Order_Invoice_Item_Collection extends Mage_Eav_Model_Entity_Collection_Abstract { protected function _construct() { $this->_init('sales/order_invoice_item'); } public function setInvoiceFilter($invoiceId) { $this->addAttributeToFilter('parent_id', $invoiceId); return $this; } }