models/oxpspaymorrowoxuser.php
protected function _isObjectFieldWithValidValue( $sKey, $sValue, $aMap, $oObject )
    {
        if ( !array_key_exists( $sKey, $aMap ) ) {
            return false;
        }

        $sField = $aMap[$sKey];

        if ( empty( $sValue ) or ( $oObject->$sField->value == $sValue ) ) {
            return false;
        }

        return true;
    }
protected function _isObjectFieldWithValidValue( $sKey, $sValue, $aMap, $oObject )
    {
        if ( !array_key_exists( $sKey, $aMap ) ) {
            return false;
        }

        $sField = $aMap[$sKey];

        if ( empty( $sValue ) or ( $oObject->$sField->value == $sValue ) ) {
            return false;
        }

        return true;
    }
protected function _isObjectFieldWithValidValue ( $ sKey , $ sValue , $ aMap , $ oObject ) { if ( ! array_key_exists ( $ sKey , $ aMap ) ) { return false ; } $ sField = $ aMap [ $ sKey ] ; if ( empty ( $ sValue ) or ( $ oObject -> $ sField -> value == $ sValue ) ) { return false ; } return true ; }
Check if field is in the map array and value is nor blank, neither same as already set.

@param string $sKey
@param string $sValue
@param array  $aMap
@param object $oObject

@return bool True if key is mapped with new non-blank value, false otherwise.
Check if field is in the map array and value is nor blank neither same as already set .