Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

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

Class CustomerPassword

Value Object

Class CustomerPassword

Represents a customer password

CustomerPassword implements CustomerPasswordInterface
Package: Customer\ValueObjects
Category: System
Implements: CustomerPasswordInterface
Located at CoreServices/Customer/ValueObjects/CustomerPassword.inc.php

Methods summary

public
# __construct( string $p_password, boolean $p_disableHash = false )

Constructor for the class CustomerPassword.

Constructor for the class CustomerPassword.

Validates password and build md5-hash.

Parameters

$p_password
Customer's password.
$p_disableHash
(optional) Will not hash the provided password string.

Throws

InvalidArgumentException
If $p_password is not a string.
public string
# __toString( )

Returns the equivalent string value (MD5-hash).

Returns the equivalent string value (MD5-hash).

Returns

string
Equivalent string value (MD5-hash).

Implementation of

CustomerPasswordInterface::__toString()

Properties summary

protected string $md5password

Customer's password.

Customer's password.

#
API documentation generated by ApiGen