Mage_Sales_Model_Entity_Order_Shipment_Attribute_Backend_Parent Class Reference

Inheritance diagram for Mage_Sales_Model_Entity_Order_Shipment_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 Shipment items

Save Shipment tracks

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 Shipment items
00037          */
00038         foreach ($object->getAllItems() as $item) {
00039             $item->save();
00040         }
00041 
00042         /**
00043          * Save Shipment tracks
00044          */
00045         foreach ($object->getAllTracks() as $track) {
00046             $track->save();
00047         }
00048 
00049         foreach($object->getCommentsCollection() as $comment) {
00050             $comment->save();
00051         }
00052         return $this;
00053     }


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

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