class Ldap implements LdapInterface
Methods
__construct(AdapterInterface $adapter) | ||
bind(string $dn = null, string $password = null) Return a connection bound to the ldap. | ||
QueryInterface | query(string $dn, string $query, array $options = array()) Queries a ldap server for entries matching the given criteria. | |
EntryManagerInterface | getEntryManager() | |
string | escape(string $subject, string $ignore = '', int $flags) Escape a string for use in an LDAP filter or DN. | |
static Ldap | create(string $adapter, array $config = array()) Creates a new Ldap instance. |
Details
__construct(AdapterInterface $adapter)
bind(string $dn = null, string $password = null)
Return a connection bound to the ldap.
QueryInterface query(string $dn, string $query, array $options = array())
Queries a ldap server for entries matching the given criteria.
EntryManagerInterface getEntryManager()
string escape(string $subject, string $ignore = '', int $flags)
Escape a string for use in an LDAP filter or DN.
static Ldap create(string $adapter, array $config = array())
Creates a new Ldap instance.
Please login to continue.