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

  • 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( )

Constructor of the class CustomerInputValidatorSettings.

Constructor of the class CustomerInputValidatorSettings.

Set minimum length values and error messages texts from constants. Set maximum length values from DB field length.

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()

Properties summary

protected integer $firstnameMinLength

Customer's first name minimum length.

Customer's first name minimum length.

#
protected integer $lastnameMinLength

Customer's last name minimum length.

Customer's last name minimum length.

#
protected integer $dateOfBirthMinLength

Customer's date of birth minimum length.

Customer's date of birth minimum length.

#
protected integer $emailMinLength

Customer's E-Mail address minimum length.

Customer's E-Mail address minimum length.

#
protected integer $streetMinLength

Customer's street minimum length.

Customer's street minimum length.

#
protected integer $houseNumberMinLength

Customer's house number minimum length.

Customer's house number minimum length.

#
protected integer $companyMinLength

Customer's company minimum length.

Customer's company minimum length.

#
protected integer $postcodeMinLength

Customer's post code minimum length.

Customer's post code minimum length.

#
protected integer $cityMinLength

Customer's city minimum length.

Customer's city minimum length.

#
protected integer $countryZoneMinLength

Customer's country zone minimum length.

Customer's country zone minimum length.

#
protected integer $telephoneNumberMinLength

Customer's telephone number minimum length.

Customer's telephone number minimum length.

#
protected integer $passwordMinLength

Customer's password minimum length.

Customer's password minimum length.

#
protected string $genderErrorMessage

Customer's gender error message.

Customer's gender error message.

#
protected string $firstnameErrorMessage

Customer's first name error message.

Customer's first name error message.

#
protected string $lastnameErrorMessage

Customer's last name error message.

Customer's last name error message.

#
protected string $dateOfBirthErrorMessage

Customer's date of birth error message.

Customer's date of birth error message.

#
protected string $companyErrorMessage

Customer's company error message.

Customer's company error message.

#
protected string $vatNumberErrorMessage

Customer's VAT number error message.

Customer's VAT number error message.

#
protected string $emailErrorMessage

Customer's E-Mail address error message.

Customer's E-Mail address error message.

#
protected string $emailAddressCheckErrorMessage

Customer's E-Mail address check error message.

Customer's E-Mail address check error message.

#
protected string $emailConfirmationErrorMessage

Customer's E-Mail address confirmation error message.

Customer's E-Mail address confirmation error message.

#
protected string $emailExistsErrorMessage

Customer's E-Mail address already exists error message.

Customer's E-Mail address already exists error message.

#
protected string $streetErrorMessage

Customer's street error message.

Customer's street error message.

#
protected string $houseNumberErrorMessage

Customer's house number error message.

Customer's house number error message.

#
protected string $postcodeErrorMessage

Customer's post code error message.

Customer's post code error message.

#
protected string $cityErrorMessage

Customer's city error message.

Customer's city error message.

#
protected string $countryErrorMessage

Customer's country error message.

Customer's country error message.

#
protected string $countryZoneSelectionErrorMessage

Customer's country zone selection error message.

Customer's country zone selection error message.

#
protected string $countryZoneErrorMessage

Customer's country tone error message.

Customer's country tone error message.

#
protected string $telephoneNumberErrorMessage

Customer's telephone number error message.

Customer's telephone number error message.

#
protected string $passwordErrorMessage

Customer's password error message.

Customer's password error message.

#
protected string $passwordMismatchErrorMessage

Customer's password mismatch error message.

Customer's password mismatch error message.

#
protected string $invalidInputErrorMessage

Customer's input error error message.

Customer's input error error message.

#
protected string $privacyErrorMessage

Customer's privacy policy error message.

Customer's privacy policy error message.

#
protected boolean $displayGender

Display customer's gender?

Display customer's gender?

#
protected boolean $displayDateOfBirth

Display customer's date of birth?

Display customer's date of birth?

#
protected boolean $displayCompany

Display customer's company?

Display customer's company?

#
protected boolean $displayCountryZone

Display customer's country zone?

Display customer's country zone?

#
protected boolean $displayTelephone

Display customer's telephone number?

Display customer's telephone number?

#
protected boolean $displayFax

Display customer's fax number?

Display customer's fax number?

#
protected boolean $displaySuburb

Display customer's suburb?

Display customer's suburb?

#
protected integer $firstnameMaxLength

Customer's first name maximum length.

Customer's first name maximum length.

#
protected integer $lastnameMaxLength

Customer's last name maximum length.

Customer's last name maximum length.

#
protected integer $companyMaxLength

Customer's company maximum length.

Customer's company maximum length.

#
protected integer $vatNumberMaxLength

Customer's VAT number maximum length.

Customer's VAT number maximum length.

#
protected integer $streetMaxLength

Customer's street maximum length.

Customer's street maximum length.

#
protected integer $houseNumberMaxLength

Customer's house number maximum length.

Customer's house number maximum length.

#
protected integer $postcodeMaxLength

Customer's post code maximum length.

Customer's post code maximum length.

#
protected integer $cityMaxLength

Customer's city maximum length.

Customer's city maximum length.

#
protected integer $countryZoneMaxLength

Customer's country zone maximum length.

Customer's country zone maximum length.

#
protected integer $suburbMaxLength

Customer's suburb maximum length.

Customer's suburb maximum length.

#
protected integer $callNumberMaxLength

Customer's call number maximum length.

Customer's call number maximum length.

#
protected boolean $acceptPrivacy

Status if customer has to accept privacy policy.

Status if customer has to accept privacy policy.

#
protected boolean $namesOptional
#
protected boolean $splitStreetInformation
#
API documentation generated by ApiGen