/** * Retorna o valor antigo do registro antes de realizar a atualização * * @return Auth_Model_Aplicacao_Mapper */ public function getValueOld() { if (!$this->_dataOld instanceof Auth_Model_Aplicacao_Mapper) { $this->_dataOld = new Auth_Model_Aplicacao_Mapper(); $this->_dataOld->setId($this->getId()); $this->_dataOld->retrive(); } return $this->_dataOld; }