Methods |
public
|
__construct($sSearchDN = '')
|
#
|
public
|
Escape($sStr, $bForDn = false)
|
#
|
public
|
SetSearchDN(string $sSearchDN): Ldap
|
#
|
public
|
GetSearchDN(): string
|
#
|
public
|
Connect(
string $sHost,
int $iPort,
string $sBindDb = '',
string $sBindPassword = '',
string $sHostBack = '',
int $iPortBack = null,
): bool
Parameters
$sBindDb |
= ''
|
$sBindPassword |
= ''
|
$sHostBack |
= ''
|
$iPortBack |
= null
|
|
#
|
public
|
ReBind(string $sBindDb, string $sBindPassword): bool
|
#
|
public
|
Search(string $sObjectFilter): bool
|
#
|
public
|
Add($sNewDn, $aEntry): bool
|
#
|
public
|
Delete($sDeleteDn): bool
|
#
|
public
|
Modify($sModifyDn, $aModifyEntry): bool
|
#
|
public
|
ResultCount(): int
|
#
|
public
|
ResultItem(): mixed
|
#
|
public
|
SortPaginate(string $sSortField, string $bAsc = true, int $iOffset = null, int $iRequestLimit = null): array
Parameters
$bAsc |
'asc' or 'desc'
|
$iOffset |
= null
|
$iRequestLimit |
= null
|
|
#
|