PHP Class LdapTools\Operation\AddOperation

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

Protected Properties

Property Type Description
$properties array

Public Methods

Method 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 method

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 method

public getArguments ( )

getAttributes() public method

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

getDn() public method

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

getLdapFunction() public method

public getLdapFunction ( )

getLocation() public method

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
return string | null

getLogArray() public method

public getLogArray ( )

getName() public method

public getName ( )

setAttributes() public method

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

setDn() public method

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

setLocation() public method

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
return array