Mage_Sales_Model_Mysql4_Order_Invoice_Attribute_Backend_Order Class Reference

Inheritance diagram for Mage_Sales_Model_Mysql4_Order_Invoice_Attribute_Backend_Order:

Mage_Eav_Model_Entity_Attribute_Backend_Abstract Mage_Eav_Model_Entity_Attribute_Backend_Interface

List of all members.

Public Member Functions

 beforeSave ($object)


Detailed Description

Definition at line 28 of file Order.php.


Member Function Documentation

beforeSave ( object  ) 

Reimplemented from Mage_Eav_Model_Entity_Attribute_Backend_Abstract.

Definition at line 31 of file Order.php.

00032     {
00033         if ($object->getOrder()) {
00034             $object->setOrderId($object->getOrder()->getId());
00035             $object->setBillingAddressId($object->getOrder()->getBillingAddress()->getId());
00036         }
00037         return parent::beforeSave($object);
00038     }


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