Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminAccess
    • Collections
    • Deleters
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Managers
    • Readers
    • Writers
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • CustomerGroup
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Serializers
    • Services
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Manufacturer
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuantityUnit
    • Entities
    • Factories
    • Repositories
  • QuickEdit
    • Interfaces
    • Repositories
  • Review
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Smarty
    • plugins
  • StaticSeoUrl
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • StaticSeoUrls
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects
  • VPE
    • Entities
    • Factories
    • Repositories
  • Withdrawal
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Services
    • ValueObjects

Classes

  • AddressBlock
  • AddressClass
  • CustomerAdditionalAddressInfo
  • CustomerB2BStatus
  • CustomerCallNumber
  • CustomerCity
  • CustomerCompany
  • CustomerCountryIso2
  • CustomerCountryIso3
  • CustomerCountryName
  • CustomerCountryZoneIsoCode
  • CustomerCountryZoneName
  • CustomerDateOfBirth
  • CustomerEmail
  • CustomerFirstname
  • CustomerGender
  • CustomerHashedPassword
  • CustomerHouseNumber
  • CustomerInputValidatorSettings
  • CustomerLastname
  • CustomerMemo
  • CustomerNumber
  • CustomerPassword
  • CustomerPostcode
  • CustomerServiceSettings
  • CustomerStreet
  • CustomerSuburb
  • CustomerVatNumber

Class CustomerInputValidatorSettings

Value Object

Class CustomerInputValidatorSettings

CustomerInputValidatorSettings stores all min length values and error messages for registration form validation

CustomerInputValidatorSettings implements CustomerInputValidatorSettingsInterface
Package: Customer\ValueObjects
Category: System
Implements: CustomerInputValidatorSettingsInterface
Located at Services/Core/Customer/ValueObjects/CustomerInputValidatorSettings.inc.php

Methods summary

public
# __construct( CustomerConfigurationSettings $configuration, CustomerDisplaySettings $displaySettings, CustomerMinLengthSettings $minLengthSettings, CustomerMaxLengthSettings $maxLengthSettings, CustomerErrorMessageSettings $errorMessages )

Constructor of the class CustomerInputValidatorSettings.

Constructor of the class CustomerInputValidatorSettings.

Parameters

$configuration
Hold configuration settings.
$displaySettings
Hold display settings.
$minLengthSettings
Hold min length configuration settings.
$maxLengthSettings
Hold max length configuration settings.
$errorMessages
Hold messages for validation errors.
public string
# getCityErrorMessage( )

Returns a city error message.

Returns a city error message.

Returns

string
City error message.

Implementation of

CustomerInputValidatorSettingsInterface::getCityErrorMessage()
public integer
# getCityMinLength( )

Returns the minimum required city character length.

Returns the minimum required city character length.

Returns

integer
City Minimum required city character length.

Implementation of

CustomerInputValidatorSettingsInterface::getCityMinLength()
public string
# getCompanyErrorMessage( )

Returns a company error message.

Returns a company error message.

Returns

string
Company error message.

Implementation of

CustomerInputValidatorSettingsInterface::getCompanyErrorMessage()
public integer
# getCompanyMinLength( )

Returns the minimum required company character length.

Returns the minimum required company character length.

Returns

integer
Minimum required company character length.

Implementation of

CustomerInputValidatorSettingsInterface::getCompanyMinLength()
public string
# getCountryErrorMessage( )

Returns a country error message.

Returns a country error message.

Returns

string
Country error message.

Implementation of

CustomerInputValidatorSettingsInterface::getCountryErrorMessage()
public string
# getCountryZoneErrorMessage( )

Returns a country zone error message.

Returns a country zone error message.

Returns

string
Country zone error message.

Implementation of

CustomerInputValidatorSettingsInterface::getCountryZoneErrorMessage()
public integer
# getCountryZoneMinLength( )

Returns the minimum required country zone character length.

Returns the minimum required country zone character length.

Returns

integer
Minimum required country zone character length.

Implementation of

CustomerInputValidatorSettingsInterface::getCountryZoneMinLength()
public string
# getCountryZoneSelectionErrorMessage( )

Returns a country zone selection error message.

Returns a country zone selection error message.

Returns

string
Country zone selection error message.

Implementation of

CustomerInputValidatorSettingsInterface::getCountryZoneSelectionErrorMessage()
public string
# getDateOfBirthErrorMessage( )

Returns a date of birth error message.

Returns a date of birth error message.

Returns

string
Date of birth error message.

Implementation of

CustomerInputValidatorSettingsInterface::getDateOfBirthErrorMessage()
public integer
# getDateOfBirthMinLength( )

Returns the minimum required date of birth character length.

Returns the minimum required date of birth character length.

Returns

integer
Minimum required date of birth character length.

Implementation of

CustomerInputValidatorSettingsInterface::getDateOfBirthMinLength()
public string
# getEmailAddressCheckErrorMessage( )

Returns an email address check error message.

Returns an email address check error message.

Returns

string
Email address check error message.

Implementation of

CustomerInputValidatorSettingsInterface::getEmailAddressCheckErrorMessage()
public string
# getEmailConfirmationErrorMessage( )

Returns an email confirmation error message.

Returns an email confirmation error message.

Returns

string
Email confirmation error message.

Implementation of

CustomerInputValidatorSettingsInterface::getEmailConfirmationErrorMessage()
public string
# getEmailErrorMessage( )

Returns an email error message.

Returns an email error message.

Returns

string
Email error message.

Implementation of

CustomerInputValidatorSettingsInterface::getEmailErrorMessage()
public string
# getEmailExistsErrorMessage( )

Returns an email exists error message.

Returns an email exists error message.

Returns

string
Email exists error message.

Implementation of

CustomerInputValidatorSettingsInterface::getEmailExistsErrorMessage()
public integer
# getEmailMinLength( )

Returns the minimum required email character length.

Returns the minimum required email character length.

Returns

integer
Minimum required email character length.

Implementation of

CustomerInputValidatorSettingsInterface::getEmailMinLength()
public string
# getFirstnameErrorMessage( )

Returns a first name error message.

Returns a first name error message.

Returns

string
First name error message.

Implementation of

CustomerInputValidatorSettingsInterface::getFirstnameErrorMessage()
public integer
# getFirstnameMinLength( )

Returns the minimum required first name character length.

Returns the minimum required first name character length.

Returns

integer
Minimum required first name character length.

Implementation of

CustomerInputValidatorSettingsInterface::getFirstnameMinLength()
public string
# getGenderErrorMessage( )

Returns a gender error message.

Returns a gender error message.

Returns

string
Gender error message.

Implementation of

CustomerInputValidatorSettingsInterface::getGenderErrorMessage()
public string
# getLastnameErrorMessage( )

Returns a last name error message.

Returns a last name error message.

Returns

string
Last name error message.

Implementation of

CustomerInputValidatorSettingsInterface::getLastnameErrorMessage()
public integer
# getLastnameMinLength( )

Returns the minimum required last name character length.

Returns the minimum required last name character length.

Returns

integer
Minimum required last name character length.

Implementation of

CustomerInputValidatorSettingsInterface::getLastnameMinLength()
public string
# getPasswordErrorMessage( )

Returns a password error message.

Returns a password error message.

Returns

string
Password error message.

Implementation of

CustomerInputValidatorSettingsInterface::getPasswordErrorMessage()
public integer
# getPasswordMinLength( )

Returns the minimum required password character length.

Returns the minimum required password character length.

Returns

integer
Minimum required password character length.

Implementation of

CustomerInputValidatorSettingsInterface::getPasswordMinLength()
public string
# getPasswordMismatchErrorMessage( )

Returns a password mismatch error message.

Returns a password mismatch error message.

Returns

string
Password mismatch error message.

Implementation of

CustomerInputValidatorSettingsInterface::getPasswordMismatchErrorMessage()
public string
# getPostcodeErrorMessage( )

Returns a post code error message.

Returns a post code error message.

Returns

string
Post code error message.

Implementation of

CustomerInputValidatorSettingsInterface::getPostcodeErrorMessage()
public integer
# getPostcodeMinLength( )

Returns the minimum required post code character length.

Returns the minimum required post code character length.

Returns

integer
Minimum required post code character length.

Implementation of

CustomerInputValidatorSettingsInterface::getPostcodeMinLength()
public string
# getStreetErrorMessage( )

Returns a street error message.

Returns a street error message.

Returns

string
Street error message.

Implementation of

CustomerInputValidatorSettingsInterface::getStreetErrorMessage()
public string
# getHouseNumberErrorMessage( )

Returns a house number error message.

Returns a house number error message.

Returns

string
house number error message.
public integer
# getStreetMinLength( )

Returns the minimum required street character length.

Returns the minimum required street character length.

Returns

integer
Minimum required street character length.

Implementation of

CustomerInputValidatorSettingsInterface::getStreetMinLength()
public integer
# getHouseNumberMinLength( )

Returns the minimum required house number character length.

Returns the minimum required house number character length.

Returns

integer
Minimum required house number character length.
public string
# getTelephoneNumberErrorMessage( )

Returns a telephone number error message.

Returns a telephone number error message.

Returns

string
Telephone number error message.

Implementation of

CustomerInputValidatorSettingsInterface::getTelephoneNumberErrorMessage()
public integer
# getTelephoneNumberMinLength( )

Returns the minimum required telephone number character length.

Returns the minimum required telephone number character length.

Returns

integer
Minimum required telephone number character length.

Implementation of

CustomerInputValidatorSettingsInterface::getTelephoneNumberMinLength()
public string
# getVatNumberErrorMessage( )

Returns a VAT number error message.

Returns a VAT number error message.

Returns

string
VAT number error message.

Implementation of

CustomerInputValidatorSettingsInterface::getVatNumberErrorMessage()
public boolean
# getDisplayCompany( )

Retrieves state value of company displaying.

Retrieves state value of company displaying.

Returns

boolean
Display company?

Implementation of

CustomerInputValidatorSettingsInterface::getDisplayCompany()
public boolean
# getDisplayCountryZone( )

Retrieves state value of country displaying.

Retrieves state value of country displaying.

Returns

boolean
Display country?

Implementation of

CustomerInputValidatorSettingsInterface::getDisplayCountryZone()
public boolean
# getDisplayDateOfBirth( )

Retrieves state value of date of birth displaying.

Retrieves state value of date of birth displaying.

Returns

boolean
Display date of birth?

Implementation of

CustomerInputValidatorSettingsInterface::getDisplayDateOfBirth()
public boolean
# getDisplayGender( )

Retrieves state value of gender displaying.

Retrieves state value of gender displaying.

Returns

boolean
Display gender?

Implementation of

CustomerInputValidatorSettingsInterface::getDisplayGender()
public boolean
# getDisplayTelephone( )

Retrieves state value of telephone number displaying

Retrieves state value of telephone number displaying

Returns

boolean
Display telephone number?

Implementation of

CustomerInputValidatorSettingsInterface::getDisplayTelephone()
public boolean
# getDisplayFax( )

Retrieves state value of fax displaying

Retrieves state value of fax displaying

Returns

boolean
Display fax?

Implementation of

CustomerInputValidatorSettingsInterface::getDisplayFax()
public boolean
# getDisplaySuburb( )

Retrieves state value of suburb displaying

Retrieves state value of suburb displaying

Returns

boolean
Display suburb?

Implementation of

CustomerInputValidatorSettingsInterface::getDisplaySuburb()
public string
# getInvalidInputErrorMessage( )

Returns an invalid input error message.

Returns an invalid input error message.

Returns

string
Invalid input error message.

Implementation of

CustomerInputValidatorSettingsInterface::getInvalidInputErrorMessage()
public integer
# getFirstnameMaxLength( )

Returns the maximum required first name character length.

Returns the maximum required first name character length.

Returns

integer
Maximum required first name character length.

Implementation of

CustomerInputValidatorSettingsInterface::getFirstnameMaxLength()
public integer
# getLastnameMaxLength( )

Returns the maximum required last name character length.

Returns the maximum required last name character length.

Returns

integer
Maximum required last name character length.

Implementation of

CustomerInputValidatorSettingsInterface::getLastnameMaxLength()
public integer
# getCompanyMaxLength( )

Returns the maximum required company character length.

Returns the maximum required company character length.

Returns

integer
Maximum required company character length.

Implementation of

CustomerInputValidatorSettingsInterface::getCompanyMaxLength()
public integer
# getVatNumberMaxLength( )

Returns the maximum required VAT number character length.

Returns the maximum required VAT number character length.

Returns

integer
Maximum required VAT number character length.

Implementation of

CustomerInputValidatorSettingsInterface::getVatNumberMaxLength()
public integer
# getStreetMaxLength( )

Returns the maximum required street character length.

Returns the maximum required street character length.

Returns

integer
Maximum required street character length.

Implementation of

CustomerInputValidatorSettingsInterface::getStreetMaxLength()
public integer
# getHouseNumberMaxLength( )

Returns the maximum required house number character length.

Returns the maximum required house number character length.

Returns

integer
Maximum required house number character length.
public integer
# getPostcodeMaxLength( )

Returns the maximum required post code character length.

Returns the maximum required post code character length.

Returns

integer
Maximum required post code character length.

Implementation of

CustomerInputValidatorSettingsInterface::getPostcodeMaxLength()
public integer
# getCityMaxLength( )

Returns the maximum required city character length.

Returns the maximum required city character length.

Returns

integer
Maximum required city character length.

Implementation of

CustomerInputValidatorSettingsInterface::getCityMaxLength()
public integer
# getCountryZoneMaxLength( )

Returns the maximum required country zone character length.

Returns the maximum required country zone character length.

Returns

integer
Maximum required country zone character length.

Implementation of

CustomerInputValidatorSettingsInterface::getCountryZoneMaxLength()
public integer
# getSuburbMaxLength( )

Returns the maximum required suburb character length.

Returns the maximum required suburb character length.

Returns

integer
Maximum required suburb character length.

Implementation of

CustomerInputValidatorSettingsInterface::getSuburbMaxLength()
public integer
# getCallNumberMaxLength( )

Returns the maximum required call number character length.

Returns the maximum required call number character length.

Returns

integer
Maximum required call number character length.

Implementation of

CustomerInputValidatorSettingsInterface::getCallNumberMaxLength()
public boolean
# isNamesOptional( )

Returns

boolean

Implementation of

CustomerInputValidatorSettingsInterface::isNamesOptional()
public boolean
# getAcceptPrivacy( )

Retrieves state value of displaying privacy checkbox

Retrieves state value of displaying privacy checkbox

Returns

boolean
Display privacy checkbox?

Implementation of

CustomerInputValidatorSettingsInterface::getAcceptPrivacy()
public string
# getPrivacyErrorMessage( )

Returns a privacy not accepted error message.

Returns a privacy not accepted error message.

Returns

string
Privacy not accepted error message.

Implementation of

CustomerInputValidatorSettingsInterface::getPrivacyErrorMessage()
public boolean
# isStreetInformationenSplit( )

Returns true if street and house number is split

Returns true if street and house number is split

Returns

boolean

Implementation of

CustomerInputValidatorSettingsInterface::isStreetInformationenSplit()
public boolean
# isThirdGenerationTemplate( )

Returns true if street and house number is split

Returns true if street and house number is split

Returns

boolean

Implementation of

CustomerInputValidatorSettingsInterface::isThirdGenerationTemplate()

Properties summary

protected CustomerConfigurationSettings $configuration
#
protected CustomerDisplaySettings $display
#
protected CustomerMinLengthSettings $minLength
#
protected CustomerMaxLengthSettings $maxLength
#
protected CustomerErrorMessageSettings $errorMessages
#
API documentation generated by ApiGen