*/ class Mage_Sales_Model_Entity_Order_Shipment_Track_Collection extends Mage_Eav_Model_Entity_Collection_Abstract { public function _construct() { $this->_init('sales/order_shipment_track'); } public function setShipmentFilter($shipmentId) { $this->addAttributeToFilter('parent_id', $shipmentId); return $this; } public function setOrderFilter($orderId) { $this->addAttributeToFilter('order_id', $orderId); return $this; } }