PHP Класс LdapTools\AttributeConverter\ConvertGPLink

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

Защищенные свойства (Protected)

Свойство Тип Описание
$gpoLinks The GPOLinks to go to LDAP are stored here, as the last value must be a conversion of this.

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

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

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

Метод Описание
createOrModifyGPOLinks ( array $gpoLinks ) : string
explodeGPOLinkString ( string $gpLink ) : string[] Given a gPLink value, pick out all the GPO DNs and return them as an array.
getGPOLinkArray ( array $gpoInfo ) : GPOLink[]
getGPOLinkDN ( GPOLink $gpoLink ) : string
getValuesForAttribute ( array $values, string $toQuery, string $toSelect ) : array Given an array of values and the attribute to query, get the values as represent by the attribute to select.
implodeGPOLinks ( array $gpoLinks ) : string Given an array of GPOLink objects, transform them back into a single gpLink string.
modifyGPOLinks ( array $GPOs ) Modify the current GPO links based on value modifications requested.
modifyMultivaluedAttribute ( array $values, array $newValues ) : array Modifies a multivalued attribute array based off the original values, the new values, and the modification type.
removeGPOLinksFromArray ( array $values, array $toRemove ) : GPOLink[]
validateGPOLinks ( array $GPOs )

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

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

public __construct ( )

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

Given a gPLink value, pick out all the GPO DNs and return them as an array.
protected explodeGPOLinkString ( string $gpLink ) : string[]
$gpLink string
Результат string[]

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

public fromLdap ( $gpLink )

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

protected getGPOLinkArray ( array $gpoInfo ) : GPOLink[]
$gpoInfo array
Результат LdapTools\Utilities\GPOLink[]

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

protected getGPOLinkDN ( GPOLink $gpoLink ) : string
$gpoLink LdapTools\Utilities\GPOLink
Результат string

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

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

Given an array of values and the attribute to query, get the values as represent by the attribute to select.
protected getValuesForAttribute ( array $values, string $toQuery, string $toSelect ) : array
$values array
$toQuery string
$toSelect string
Результат array

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

Modifies a multivalued attribute array based off the original values, the new values, and the modification type.
protected modifyMultivaluedAttribute ( array $values, array $newValues ) : array
$values array
$newValues array
Результат array

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

protected removeGPOLinksFromArray ( array $values, array $toRemove ) : GPOLink[]
$values array
$toRemove array
Результат LdapTools\Utilities\GPOLink[]

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

public toLdap ( $gpoLinks )

Описание свойств