Mage_Sales_Model_Mysql4_Order_Creditmemo_Attribute_Backend_Parent Class Reference

Inheritance diagram for Mage_Sales_Model_Mysql4_Order_Creditmemo_Attribute_Backend_Parent:

Mage_Eav_Model_Entity_Attribute_Backend_Abstract Mage_Eav_Model_Entity_Attribute_Backend_Interface

List of all members.

Public Member Functions

 afterSave ($object)


Detailed Description

Definition at line 28 of file Parent.php.


Member Function Documentation

afterSave ( object  ) 

Save creditmemo items

Reimplemented from Mage_Eav_Model_Entity_Attribute_Backend_Abstract.

Definition at line 31 of file Parent.php.

00032     {
00033         parent::afterSave($object);
00034 
00035         /**
00036          * Save creditmemo items
00037          */
00038         foreach ($object->getAllItems() as $item) {
00039             $item->save();
00040         }
00041         
00042         foreach($object->getCommentsCollection() as $comment) {
00043             $comment->save();
00044         }
00045 
00046         return $this;
00047     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:43 2009 for Magento by  doxygen 1.5.8