Class CustomerRegistrationInputValidatorService

Class CustomerRegistrationInputValidatorService

This class is used for validating customer input while registration

CustomerInputValidator implements CustomerInputValidatorInterface uses XtcUtilityTrait
CustomerRegistrationInputValidatorService implements CustomerRegistrationInputValidatorServiceInterface
Package: Customer\Validation
Category: System
Extends: CustomerInputValidator
Implements: CustomerRegistrationInputValidatorServiceInterface
Located at Services/Core/Customer/CustomerRegistrationInputValidatorService.inc.php

Methods summary

public validateCustomerDataByArray( array $inputArray ) : boolean

Validates the entered customer data with an array of parameters.

public validateGuestDataByArray( array $inputArray ) : boolean

Validate the entered guest data with an array of parameters.

protected _validateDataByArray( array $inputArray ) : boolean

Checks if the entered data is valid.

Methods inherited from CustomerInputValidator

__construct(), getErrorMessageCollection(), getErrorMessages(), getErrorStatus(), validateAddonValues(), validateCaptcha(), validateCity(), validateCompany(), validateCountry(), validateCountryZone(), validateDateOfBirth(), validateEmail(), validateEmailAndConfirmation(), validateEmailExists(), validateFaxNumber(), validateFirstname(), validateGender(), validateHouseNumber(), validateLastname(), validatePassword(), validatePostcode(), validatePrivacy(), validateStreet(), validateSuburb(), validateTelephoneNumber(), validateVatNumber()

Methods used from XtcUtilityTrait

xtcDateRaw(), xtcValidateEmail()

Properties summary

Properties inherited from CustomerInputValidator

$countryService, $customerCountryRepository, $customerCountryZoneRepository, $customerService, $errorMessageCollection, $errorStatus, $settings, $vatNumberValidator