*/ class Mage_Sales_Model_Resource_Order_Invoice_Comment_Collection extends Mage_Sales_Model_Resource_Order_Comment_Collection_Abstract { /** * Event prefix * * @var string */ protected $_eventPrefix = 'sales_order_invoice_comment_collection'; /** * Event object * * @var string */ protected $_eventObject = 'order_invoice_comment_collection'; /** * Model initialization * */ protected function _construct() { parent::_construct(); $this->_init('sales/order_invoice_comment'); } /** * Set invoice filter * * @param int $invoiceId * @return Mage_Sales_Model_Resource_Order_Invoice_Comment_Collection */ public function setInvoiceFilter($invoiceId) { return $this->setParentFilter($invoiceId); } }