PHP Класс LdapTools\Operation\AddOperation

Автор: Chad Sikorra ([email protected])
Наследование: implements LdapTools\Operation\LdapOperationInterface, use trait LdapOperationTrait
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$properties array

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

Метод Описание
__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.

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

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

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 getArguments ( )

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

Get either: The attributes selected for a query operation. The attributes to be set for an add operation.
public getAttributes ( ) : array | null
Результат array | null

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

The distinguished name for an add, delete, or move operation.
public getDn ( ) : null | string
Результат null | string

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

public getLdapFunction ( )

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

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
Результат string | null

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

public getLogArray ( )

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

public getName ( )

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

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

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

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

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

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

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

$properties защищенное свойство

protected array $properties
Результат array