Méthode |
Description |
|
formatAddresses ( array $emailAddresses ) : array |
Given an array of email address determine what type they should be and prefix the email addresses with it. |
|
getAddressesByType ( array $proxyAddresses, string $type ) : array |
Get all the addresses of a specific type from a standard proxyAddress array. |
|
getDefaultAddressByType ( array $proxyAddresses, string $type ) : string |
Get the default email for a specific address type. |
|
isDefaultValueAttribute ( ) : boolean |
Determine if the current attribute we are on is the default attribute for its type. |
|
modifyAddressArray ( array $addresses ) |
Formats the addresses then modifies the last value based on the operation type. |
|
modifyAddresses ( array $addresses ) |
Modifies an array of generic address types. |
|
modifyDefaultAddress ( string $defaultAddress ) |
Modifies the existing list of addresses to set the default for a specific address type. |
|
replaceAddressesOfType ( array $addresses, array $replaceWith ) : array |
Remove all addresses of a specific type and replace them with a specific set of addresses. |
|