Public Member Functions | |
setCreditmemo (Mage_Sales_Model_Order_Creditmemo $creditmemo) | |
getCreditmemo () | |
getStore () | |
Protected Member Functions | |
_construct () | |
Protected Attributes | |
$_creditmemo |
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_creditmemo_comment'); 00043 }
getCreditmemo | ( | ) |
getStore | ( | ) |
Get store object
Reimplemented from Mage_Sales_Model_Abstract.
Definition at line 72 of file Comment.php.
00073 { 00074 if ($this->getCreditmemo()) { 00075 return $this->getCreditmemo()->getStore(); 00076 } 00077 return Mage::app()->getStore(); 00078 }
setCreditmemo | ( | Mage_Sales_Model_Order_Creditmemo $ | creditmemo | ) |
Declare Creditmemo instance
Mage_Sales_Model_Order_Creditmemo | $creditmemo |
Definition at line 51 of file Comment.php.
$_creditmemo [protected] |
Definition at line 35 of file Comment.php.