source/Application/Controller/Admin/ArticleVariant.php
protected function _isAnythingChanged($oProduct, $aData)
    {
        if (!is_array($aData)) {
            return true;
        }
        foreach ($aData as $sKey => $sValue) {
            if (isset($oProduct->$sKey) && $oProduct->$sKey->value != $aData[$sKey]) {
                return true;
            }
        }

        return false;
    }
protected function _isAnythingChanged($oProduct, $aData)
    {
        if (!is_array($aData)) {
            return true;
        }
        foreach ($aData as $sKey => $sValue) {
            if (isset($oProduct->$sKey) && $oProduct->$sKey->value != $aData[$sKey]) {
                return true;
            }
        }

        return false;
    }
protected function _isAnythingChanged ( $ oProduct , $ aData ) { if ( ! is_array ( $ aData ) ) { return true ; } foreach ( $ aData as $ sKey => $ sValue ) { if ( isset ( $ oProduct -> $ sKey ) && $ oProduct -> $ sKey -> value != $ aData [ $ sKey ] ) { return true ; } } return false ; }
Checks if anything is changed in given data compared with existing product values.

@param \OxidEsales\Eshop\Application\Model\Article $oProduct Product to be checked.
@param array                                       $aData    Data provided for check.

@return bool
Checks if anything is changed in given data compared with existing product values .