Mage_Dataflow_Model_Profile_History Class Reference

Inheritance diagram for Mage_Dataflow_Model_Profile_History:

Mage_Core_Model_Abstract Varien_Object

List of all members.

Protected Member Functions

 _construct ()
 _beforeSave ()


Detailed Description

Convert history

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 32 of file History.php.


Member Function Documentation

_beforeSave (  )  [protected]

Processing object before save data

Returns:
Mage_Core_Model_Abstract

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     }


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

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