Ldap/Exception.php
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.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Ldap
- Version
- $Id$
\Zend_Ldap_Exception
Package: Zend_Ldap
- Parent(s)
- \Zend_Exception < \Exception
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Uses
Constants
Methods
__construct(\Zend_Ldap $ldap = null, string $str = null, int $code = 0) : void
Parameters
Name | Type | Description |
---|---|---|
$ldap | \Zend_Ldap | A Zend_Ldap object |
$str | string | An informtive exception message |
$code | int | An LDAP error code |
getErrorCode() : int
Returns
Details
Type | Description |
---|---|
int | The current error code for this exception |
- Deprecated
- will be removed
getLdapCode(\Zend_Ldap $ldap = null) : int
static
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$ldap | \Zend_Ldap | A Zend_Ldap object |
Type | Description |
---|---|
int | The current error code for the resource |
- Deprecated
- not necessary any more - will be removed