Mage_Sales_Model_Mysql4_Abstract Class Reference

Inheritance diagram for Mage_Sales_Model_Mysql4_Abstract:

Mage_Core_Model_Mysql4_Abstract Mage_Core_Model_Resource_Abstract Mage_Sales_Model_Mysql4_Order_Item Mage_Sales_Model_Mysql4_Quote Mage_Sales_Model_Mysql4_Quote_Address Mage_Sales_Model_Mysql4_Quote_Address_Item Mage_Sales_Model_Mysql4_Quote_Address_Rate Mage_Sales_Model_Mysql4_Quote_Item Mage_Sales_Model_Mysql4_Quote_Payment

List of all members.

Protected Member Functions

 _prepareDataForSave (Mage_Core_Model_Abstract $object)


Detailed Description

Definition at line 34 of file Abstract.php.


Member Function Documentation

_prepareDataForSave ( Mage_Core_Model_Abstract object  )  [protected]

Prepare data for save

Parameters:
Mage_Core_Model_Abstract $object
Returns:
array

Reimplemented from Mage_Core_Model_Mysql4_Abstract.

Definition at line 42 of file Abstract.php.

00043     {
00044         if (!$object->getId()) {
00045             $object->setCreatedAt(now());
00046         }
00047         $object->setUpdatedAt(now());
00048         $data = parent::_prepareDataForSave($object);
00049         return $data;
00050     }


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

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