ReplaceAttributesTask
in package
implements
ImporterTask
Replaces attributes in an existing LDAP entry.
Tags
Interfaces, Classes, Traits and Enums
- ImporterTask
- A single import task.
Table of Contents
- $attributes : mixed
- $dn : mixed
- __construct() : mixed
- Constructor
- getAttributeName() : string
- Returns the attributes name.
- getAttributes() : array<string|int, string>
- Returns the attributes to add.
- getDn() : string
- Returns the DN.
- run() : string
- Runs the task.
Properties
$attributes
private
mixed
$attributes
= []
$dn
private
mixed
$dn
= ''
Methods
__construct()
Constructor
public
__construct(string $dn, mixed $attributes) : mixed
Parameters
- $dn : string
-
DN
- $attributes : mixed
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|int, string>
Return values
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