models/oxpspaymorrowoxuser.php
protected function _mapDataFieldsToObject( array $aData, array $aMap, $oObject )
    {
        $blValueSet = false;

        foreach ( $aData as $sKey => $mValue ) {
            $sValue = trim( (string) $mValue );

            if ( $this->_isObjectFieldWithValidValue( $sKey, $sValue, $aMap, $oObject ) ) {
                $sField           = $aMap[$sKey];
                $oObject->$sField = new oxField( $sValue );
                $blValueSet       = true;
            }
        }

        return $blValueSet;
    }
protected function _mapDataFieldsToObject( array $aData, array $aMap, $oObject )
    {
        $blValueSet = false;

        foreach ( $aData as $sKey => $mValue ) {
            $sValue = trim( (string) $mValue );

            if ( $this->_isObjectFieldWithValidValue( $sKey, $sValue, $aMap, $oObject ) ) {
                $sField           = $aMap[$sKey];
                $oObject->$sField = new oxField( $sValue );
                $blValueSet       = true;
            }
        }

        return $blValueSet;
    }
protected function _mapDataFieldsToObject ( array $ aData , array $ aMap , $ oObject ) { $ blValueSet = false ; foreach ( $ aData as $ sKey => $ mValue ) { $ sValue = trim ( ( string ) $ mValue ) ; if ( $ this -> _isObjectFieldWithValidValue ( $ sKey , $ sValue , $ aMap , $ oObject ) ) { $ sField = $ aMap [ $ sKey ] ; $ oObject -> $ sField = new oxField ( $ sValue ) ; $ blValueSet = true ; } } return $ blValueSet ; }
Check each data array field if it could be mapped to object and set the value if it is not empty and differ.

@param array  $aData
@param array  $aMap
@param object $oObject

@return bool True if at least one field updated, false otherwise.
Check each data array field if it could be mapped to object and set the value if it is not empty and differ .