Beispiel #1
0
 /**
  * Processing object before save data
  *
  * @return Mage_Core_Model_Abstract
  */
 protected function _afterLoad()
 {
     //Before you save, pass all current data into a dummy model for comparison later.
     $this->oldData = $this->getData();
     return parent::_afterLoad();
 }