*/ class Mage_Adminhtml_Block_Sales_Order_Shipment_View_Comments extends Mage_Adminhtml_Block_Text_List { /** * Retrieve shipment model instance * * @return Mage_Sales_Model_Order_Shipment */ public function getShipment() { return Mage::registry('current_shipment'); } /** * Retrieve invoice order * * @return Mage_Sales_Model_Order */ public function getOrder() { return $this->getShipment()->getOrder(); } /** * Retrieve source * * @return Mage_Sales_Model_Order_Shipment */ public function getSource() { return $this->getShipment(); } }