Protected Member Functions | |
_construct () | |
_beforeSave (Mage_Core_Model_Abstract $object) |
Definition at line 34 of file History.php.
_beforeSave | ( | Mage_Core_Model_Abstract $ | object | ) | [protected] |
Perform actions before object save
Varien_Object | $object |
Reimplemented from Mage_Core_Model_Mysql4_Abstract.
Definition at line 41 of file History.php.
00042 { 00043 if (!$object->getPerformedAt()) { 00044 $object->setPerformedAt($this->formatDate(time())); 00045 } 00046 parent::_beforeSave($object); 00047 return $this; 00048 }
_construct | ( | ) | [protected] |
Resource initialization
Reimplemented from Mage_Core_Model_Resource_Abstract.
Definition at line 36 of file History.php.
00037 { 00038 $this->_init('core/convert_history', 'history_id'); 00039 }