Property | Type | Description | |
---|---|---|---|
$connection | resource | ||
$diagnosticOpt | string |
Method | Description | |
---|---|---|
__construct ( resource $connection ) | ||
getDiagnosticMessage ( ) : string | Get the full diagnostic error message. | |
getErrorNumber ( ) : integer | Get the last error number from LDAP. | |
getExtendedErrorNumber ( ) : integer | Is there a generic way to do this that isn't directory implementation specific? The constant LDAP_OPT_ERROR_NUMBER seems like the place to start, but it is not documented anywhere. So currently this will only return the last generic error number unless overridden. | |
getInstance ( string $type, resource $connection ) : |
||
getLastErrorMessage ( ) : string | Get the last error message from LDAP. |
public getDiagnosticMessage ( ) : string | ||
return | string |
public getErrorNumber ( ) : integer | ||
return | integer |
public getExtendedErrorNumber ( ) : integer | ||
return | integer |
public static getInstance ( string $type, resource $connection ) : |
||
$type | string | |
$connection | resource | |
return |
public getLastErrorMessage ( ) : string | ||
return | string |