PHP 클래스 LdapTools\AttributeConverter\ConvertGPLink

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

보호된 프로퍼티들

프로퍼티 타입 설명
$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 )

프로퍼티 상세