*/ class Mage_Sales_Model_Entity_Order_Invoice_Comment_Collection extends Mage_Eav_Model_Entity_Collection_Abstract { protected function _construct() { $this->_init('sales/order_invoice_comment'); } public function setInvoiceFilter($invoiceId) { $this->addAttributeToFilter('parent_id', $invoiceId); return $this; } public function setCreatedAtOrder($order='desc') { $this->setOrder('created_at', $order); return $this; } }