source/Application/Model/User.php
public function checkValues($sLogin, $sPassword, $sPassword2, $aInvAddress, $aDelAddress)
    {
        /** @var \OxidEsales\Eshop\Core\InputValidator $oInputValidator */
        $oInputValidator = Registry::getInputValidator();

        // 1. checking user name
        $sLogin = $oInputValidator->checkLogin($this, $sLogin, $aInvAddress);

        // 2. checking email
        $oInputValidator->checkEmail($this, $sLogin);

        // 3. password
        $oInputValidator->checkPassword($this, $sPassword, $sPassword2, ((int) Registry::getConfig()->getRequestParameter('option') == 3));

        // 4. required fields
        $oInputValidator->checkRequiredFields($this, $aInvAddress, $aDelAddress);

        // 5. country check
        $oInputValidator->checkCountries($this, $aInvAddress, $aDelAddress);

        // 6. vat id check.
        try {
            $oInputValidator->checkVatId($this, $aInvAddress);
        } catch (\OxidEsales\Eshop\Core\Exception\ConnectionException $e) {
            // R080730 just oxInputException is passed here
            // if it oxConnectionException, it means it could not check vat id
            // and will set 'not checked' status to it later
        }

        // throwing first validation error
        if ($oError = Registry::getInputValidator()->getFirstValidationError()) {
            throw $oError;
        }
    }
public function checkValues($sLogin, $sPassword, $sPassword2, $aInvAddress, $aDelAddress)
    {
        /** @var \OxidEsales\Eshop\Core\InputValidator $oInputValidator */
        $oInputValidator = Registry::getInputValidator();

        // 1. checking user name
        $sLogin = $oInputValidator->checkLogin($this, $sLogin, $aInvAddress);

        // 2. checking email
        $oInputValidator->checkEmail($this, $sLogin);

        // 3. password
        $oInputValidator->checkPassword($this, $sPassword, $sPassword2, ((int) Registry::getConfig()->getRequestParameter('option') == 3));

        // 4. required fields
        $oInputValidator->checkRequiredFields($this, $aInvAddress, $aDelAddress);

        // 5. country check
        $oInputValidator->checkCountries($this, $aInvAddress, $aDelAddress);

        // 6. vat id check.
        try {
            $oInputValidator->checkVatId($this, $aInvAddress);
        } catch (\OxidEsales\Eshop\Core\Exception\ConnectionException $e) {
            // R080730 just oxInputException is passed here
            // if it oxConnectionException, it means it could not check vat id
            // and will set 'not checked' status to it later
        }

        // throwing first validation error
        if ($oError = Registry::getInputValidator()->getFirstValidationError()) {
            throw $oError;
        }
    }
public function checkValues ( $ sLogin , $ sPassword , $ sPassword2 , $ aInvAddress , $ aDelAddress ) { /** @var \OxidEsales\Eshop\Core\InputValidator $oInputValidator */ $ oInputValidator = Registry :: getInputValidator ( ) ; // 1. checking user name $ sLogin = $ oInputValidator -> checkLogin ( $ this , $ sLogin , $ aInvAddress ) ; // 2. checking email $ oInputValidator -> checkEmail ( $ this , $ sLogin ) ; // 3. password $ oInputValidator -> checkPassword ( $ this , $ sPassword , $ sPassword2 , ( ( int ) Registry :: getConfig ( ) -> getRequestParameter ( 'option' ) == 3 ) ) ; // 4. required fields $ oInputValidator -> checkRequiredFields ( $ this , $ aInvAddress , $ aDelAddress ) ; // 5. country check $ oInputValidator -> checkCountries ( $ this , $ aInvAddress , $ aDelAddress ) ; // 6. vat id check. try { $ oInputValidator -> checkVatId ( $ this , $ aInvAddress ) ; } catch ( \ OxidEsales \ Eshop \ Core \ Exception \ ConnectionException $ e ) { // R080730 just oxInputException is passed here // if it oxConnectionException, it means it could not check vat id // and will set 'not checked' status to it later } // throwing first validation error if ( $ oError = Registry :: getInputValidator ( ) -> getFirstValidationError ( ) ) { throw $ oError ; } }
Performs bunch of checks if user profile data is correct; on any
error exception is thrown

@param string $sLogin      user login name
@param string $sPassword   user password
@param string $sPassword2  user password to compare
@param array  $aInvAddress array of user profile data
@param array  $aDelAddress array of user profile data

@throws UserException, oxInputException
Performs bunch of checks if user profile data is correct ; on any error exception is thrown