DeleteAttributesTask
in package
implements
ImporterTask
Deletes attributes from an existing LDAP entry.
Tags
Interfaces, Classes, Traits and Enums
- ImporterTask
- A single import task.
Table of Contents
- $attributeName : string
- $attributes : array<string|int, mixed>
- $dn : string
- __construct() : mixed
- Constructor
- getAttributeName() : string
- Returns the attributes name.
- getAttributes() : array<string, array<string|int, string>>
- Returns the attributes to add.
- getDn() : string
- Returns the DN.
- run() : string
- Runs the task.
Properties
$attributeName
private
string
$attributeName
$attributes
private
array<string|int, mixed>
$attributes
attributes
$dn
private
string
$dn
Methods
__construct()
Constructor
public
__construct(string $dn, string $attributeName, array<string, array<string|int, string>> $attributes) : mixed
Parameters
- $dn : string
-
DN
- $attributeName : string
-
attribute name
- $attributes : array<string, array<string|int, string>>
-
list of attributes
Return values
mixed —getAttributeName()
Returns the attributes name.
public
getAttributeName() : string
Return values
string —name
getAttributes()
Returns the attributes to add.
public
getAttributes() : array<string, array<string|int, string>>
Return values
array<string, array<string|int, string>> —attributes (array('attr' => array('val1', 'val2')))
getDn()
Returns the DN.
public
getDn() : string
Return values
string —DN
run()
Runs the task.
public
run() : string
Tags
Return values
string —HTML output or LAMException if error occurred