Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

__construct(
\Zend_Ldap $ldap
=
null, string $str
=
null, int $code
=
0
)
:
void
Name | Type | Description |
---|---|---|
$ldap | \Zend_Ldap | A Zend_Ldap object |
$str | string | An informtive exception message |
$code | int | An LDAP error code |

getErrorCode(
)
:
int
Type | Description |
---|---|
int | The current error code for this exception |

getLdapCode(
\Zend_Ldap $ldap
=
null
)
:
int
Name | Type | Description |
---|---|---|
$ldap | \Zend_Ldap | A Zend_Ldap object |
Type | Description |
---|---|
int | The current error code for the resource |