Protected Member Functions | |
_construct () | |
_beforeSave () |
Definition at line 32 of file History.php.
_beforeSave | ( | ) | [protected] |
Processing object before save data
Reimplemented from Mage_Core_Model_Abstract.
Definition at line 39 of file History.php.
00040 { 00041 if (!$this->getProfileId()) { 00042 $profile = Mage::registry('current_convert_profile'); 00043 if ($profile) { 00044 $this->setProfileId($profile->getId()); 00045 } 00046 } 00047 if (!$this->getUserId()) { 00048 $this->setUserId(Mage::getSingleton('admin/session')->getUser()->getId()); 00049 } 00050 00051 parent::_beforeSave(); 00052 return $this; 00053 }
_construct | ( | ) | [protected] |
Enter description here...
Reimplemented from Varien_Object.
Definition at line 34 of file History.php.
00035 { 00036 $this->_init('dataflow/profile_history'); 00037 }