Public Member Functions | |
afterSave ($object) |
Definition at line 28 of file Parent.php.
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 }