PHP Class LdapTools\Operation\AddOperation

Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\Operation\LdapOperationInterface, use trait LdapOperationTrait
Afficher le fichier Open project: ldaptools/ldaptools Class Usage Examples

Protected Properties

Свойство Type Description
$properties array

Méthodes publiques

Méthode Description
__construct ( string $dn = null, array $attributes = [] )
getArguments ( )
getAttributes ( ) : array | null Get either: The attributes selected for a query operation. The attributes to be set for an add operation.
getDn ( ) : null | string The distinguished name for an add, delete, or move operation.
getLdapFunction ( )
getLocation ( ) : string | null Get the location where the LDAP object should be created (ie. OU/container). This is only valid when the operation is hydrated.
getLogArray ( )
getName ( )
setAttributes ( array $attributes ) Set the attributes selected or added to/from LDAP (add or select operation).
setDn ( string $dn ) Set the distinguished name that the operation is working on.
setLocation ( string $location ) Set the location where the LDAP object should be created (ie. OU/container). This is only valid when the operation is hydrated.

Method Details

__construct() public méthode

public __construct ( string $dn = null, array $attributes = [] )
$dn string The DN for the LDAP object.
$attributes array The attributes in [key => value] form for the LDAP object.

getArguments() public méthode

public getArguments ( )

getAttributes() public méthode

Get either: The attributes selected for a query operation. The attributes to be set for an add operation.
public getAttributes ( ) : array | null
Résultat array | null

getDn() public méthode

The distinguished name for an add, delete, or move operation.
public getDn ( ) : null | string
Résultat null | string

getLdapFunction() public méthode

public getLdapFunction ( )

getLocation() public méthode

Get the location where the LDAP object should be created (ie. OU/container). This is only valid when the operation is hydrated.
public getLocation ( ) : string | null
Résultat string | null

getLogArray() public méthode

public getLogArray ( )

getName() public méthode

public getName ( )

setAttributes() public méthode

Set the attributes selected or added to/from LDAP (add or select operation).
public setAttributes ( array $attributes )
$attributes array

setDn() public méthode

Set the distinguished name that the operation is working on.
public setDn ( string $dn )
$dn string

setLocation() public méthode

Set the location where the LDAP object should be created (ie. OU/container). This is only valid when the operation is hydrated.
public setLocation ( string $location )
$location string

Property Details

$properties protected_oe property

protected array $properties
Résultat array