PHP 클래스 LdapTools\AttributeConverter\ConvertExchangeProxyAddress

저자: Chad Sikorra ([email protected])
상속: implements LdapTools\AttributeConverter\AttributeConverterInterface, use trait LdapTools\Utilities\ConverterUtilitiesTrait, use trait AttributeConverterTrait
파일 보기 프로젝트 열기: ldaptools/ldaptools

공개 메소드들

메소드 설명
__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 )