PHP Class LdapTools\Event\LdapObjectCreationEvent

Author: Chad Sikorra ([email protected])
Inheritance: extends Event
Show file Open project: ldaptools/ldaptools Class Usage Examples

Protected Properties

Property Type Description
$container null | string
$data array
$dn null | string

Public Methods

Method Description
getContainer ( ) : null | string Get the container/OU where the LDAP object will be placed.
getData ( ) : array Get the data to be sent to LDAP.
getDn ( ) : null | string Get the DN for the LDAP object.
setContainer ( string | null $container ) Set the container/OU where the LDAP object will be placed. This is only relevant for the 'before create' event.
setData ( array $data ) Set the data to be sent to LDAP. This is only relevant for the 'before create' event.
setDn ( string | null $dn ) Set the DN to be used for the LDAP object. This is only relevant for the 'before create' event.

Method Details

getContainer() public method

Get the container/OU where the LDAP object will be placed.
public getContainer ( ) : null | string
return null | string

getData() public method

Get the data to be sent to LDAP.
public getData ( ) : array
return array

getDn() public method

Get the DN for the LDAP object.
public getDn ( ) : null | string
return null | string

setContainer() public method

Set the container/OU where the LDAP object will be placed. This is only relevant for the 'before create' event.
public setContainer ( string | null $container )
$container string | null

setData() public method

Set the data to be sent to LDAP. This is only relevant for the 'before create' event.
public setData ( array $data )
$data array

setDn() public method

Set the DN to be used for the LDAP object. This is only relevant for the 'before create' event.
public setDn ( string | null $dn )
$dn string | null

Property Details

$container protected property

protected null|string $container
return null | string

$data protected property

protected array $data
return array

$dn protected property

protected null|string $dn
return null | string