PHP Class LdapTools\AttributeConverter\ConvertGroupMembership

Author: Chad Sikorra ([email protected])
Inheritance: extends ConvertValueToDn, implements LdapTools\AttributeConverter\OperationGeneratorInterface, use trait OperationGeneratorTrait
Afficher le fichier Open project: ldaptools/ldaptools

Méthodes publiques

Méthode Description
getIsMultiValuedConverter ( )
getRemoveOriginalValue ( )
toLdap ( $values )

Méthodes protégées

Méthode Description
addOperation ( string $dn, integer $batchType ) Add the correct operation for the action as a post operation to the current operation.
createOperationsFromValues ( array $values ) Given the set of array values create the correct operation.
getBatchTypeForOperation ( ) : integer Get the batch type for the operation that was specified.
removeCurrentGroups ( ) Gets the current group membership and generates operations to remove them all.
shouldRemoveCurrentGroups ( ) : boolean

Method Details

addOperation() protected méthode

Add the correct operation for the action as a post operation to the current operation.
protected addOperation ( string $dn, integer $batchType )
$dn string
$batchType integer

createOperationsFromValues() protected méthode

Given the set of array values create the correct operation.
protected createOperationsFromValues ( array $values )
$values array

getBatchTypeForOperation() protected méthode

Get the batch type for the operation that was specified.
protected getBatchTypeForOperation ( ) : integer
Résultat integer

getIsMultiValuedConverter() public méthode

getRemoveOriginalValue() public méthode

removeCurrentGroups() protected méthode

Gets the current group membership and generates operations to remove them all.
protected removeCurrentGroups ( )

shouldRemoveCurrentGroups() protected méthode

protected shouldRemoveCurrentGroups ( ) : boolean
Résultat boolean

toLdap() public méthode

public toLdap ( $values )