PHP Класс LdapTools\AttributeConverter\ConvertExchangeProxyAddress

Автор: Chad Sikorra ([email protected])
Наследование: implements LdapTools\AttributeConverter\AttributeConverterInterface, use trait LdapTools\Utilities\ConverterUtilitiesTrait, use trait AttributeConverterTrait
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( )
fromLdap ( $value )
getShouldAggregateValues ( )
toLdap ( $value )

Защищенные методы

Метод Описание
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.

Описание методов

__construct() публичный метод

public __construct ( )

formatAddresses() защищенный метод

Given an array of email address determine what type they should be and prefix the email addresses with it.
protected formatAddresses ( array $emailAddresses ) : array
$emailAddresses array
Результат array

fromLdap() публичный метод

public fromLdap ( $value )

getAddressesByType() защищенный метод

Get all the addresses of a specific type from a standard proxyAddress array.
protected getAddressesByType ( array $proxyAddresses, string $type ) : array
$proxyAddresses array
$type string
Результат array

getDefaultAddressByType() защищенный метод

Get the default email for a specific address type.
protected getDefaultAddressByType ( array $proxyAddresses, string $type ) : string
$proxyAddresses array
$type string
Результат string

getShouldAggregateValues() публичный метод

isDefaultValueAttribute() защищенный метод

Determine if the current attribute we are on is the default attribute for its type.
protected isDefaultValueAttribute ( ) : boolean
Результат boolean

modifyAddressArray() защищенный метод

Formats the addresses then modifies the last value based on the operation type.
protected modifyAddressArray ( array $addresses )
$addresses array

modifyAddresses() защищенный метод

Modifies an array of generic address types.
protected modifyAddresses ( array $addresses )
$addresses array

modifyDefaultAddress() защищенный метод

Modifies the existing list of addresses to set the default for a specific address type.
protected modifyDefaultAddress ( string $defaultAddress )
$defaultAddress string

replaceAddressesOfType() защищенный метод

Remove all addresses of a specific type and replace them with a specific set of addresses.
protected replaceAddressesOfType ( array $addresses, array $replaceWith ) : array
$addresses array
$replaceWith array
Результат array

toLdap() публичный метод

public toLdap ( $value )