*/ class Mage_Sales_Model_Entity_Order_Shipment_Comment_Collection extends Mage_Eav_Model_Entity_Collection_Abstract { protected function _construct() { $this->_init('sales/order_shipment_comment'); } public function setShipmentFilter($shipmentId) { $this->addAttributeToFilter('parent_id', $shipmentId); return $this; } public function setCreatedAtOrder($order='desc') { $this->setOrder('created_at', $order); return $this; } }