
Public Member Functions | |
| setShipment (Mage_Sales_Model_Order_Shipment $shipment) | |
| getShipment () | |
| getStore () | |
Protected Member Functions | |
| _construct () | |
Protected Attributes | |
| $_shipment | |
Definition at line 28 of file Comment.php.
| _construct | ( | ) | [protected] |
Initialize resource model
Reimplemented from Varien_Object.
Definition at line 40 of file Comment.php.
00041 { 00042 $this->_init('sales/order_shipment_comment'); 00043 }
| getShipment | ( | ) |
Retrieve Shipment instance
Definition at line 62 of file Comment.php.
| getStore | ( | ) |
Get store object
Reimplemented from Mage_Sales_Model_Abstract.
Definition at line 72 of file Comment.php.
00073 { 00074 if ($this->getShipment()) { 00075 return $this->getShipment()->getStore(); 00076 } 00077 return Mage::app()->getStore(); 00078 }
| setShipment | ( | Mage_Sales_Model_Order_Shipment $ | shipment | ) |
Declare Shipment instance
| Mage_Sales_Model_Order_Shipment | $shipment |
Definition at line 51 of file Comment.php.
$_shipment [protected] |
Definition at line 35 of file Comment.php.
1.5.8