Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • CustomerAccountInputValidator
  • CustomerInputValidator
  • CustomerMemoCollection
  • CustomerRegistrationInputValidatorService
  • VatNumberValidator

Class CustomerAccountInputValidator

Class CustomerAccountInputValidator

This class is used for validating input data from the customer account

CustomerInputValidator implements CustomerInputValidatorInterface
Extended by CustomerAccountInputValidator implements CustomerAccountInputValidatorInterface
Package: Customer\Validation
Category: System
Extends: CustomerInputValidator
Implements: CustomerAccountInputValidatorInterface
Located at Services/Core/Customer/CustomerAccountInputValidator.inc.php

Methods summary

public boolean
# validateByArray( array $inputArray, CustomerInterface $customer )

Checks if the entered customer data is valid based on an array.

Checks if the entered customer data is valid based on an array.

Expects an array with following keys: - gender - firstname - lastname - dob (date of birth) - email_address - telephone - vat - country

Parameters

$inputArray
Input data.
$customer
Customer data.

Returns

boolean
Returns the validation result (true indicates no validation error).

Implementation of

CustomerAccountInputValidatorInterface::validateByArray()

Methods inherited from CustomerInputValidator

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

Properties summary

Properties inherited from CustomerInputValidator

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

API documentation generated by ApiGen