HumHub Documentation (unofficial)

Handler
in package

Laminas\Ldap\Handler is a collection of LDAP handler related functions.

Table of Contents

Methods

isLdapHandle()  : bool
Checks if the given handle is an LDAP connection object or a resource based on the running PHP version.
isResultEntryHandle()  : bool
Checks if the given handle is an LDAP result entry object or a resource based on the running PHP version.
isResultHandle()  : bool
Checks if the given handle is an LDAP result object or a resource based on the running PHP version.
isHandle()  : bool

Methods

isLdapHandle()

Checks if the given handle is an LDAP connection object or a resource based on the running PHP version.

public static isLdapHandle(mixed $handle) : bool
Parameters
$handle : mixed
Tags
psalm-assert-if-true

resource|Connection $handle

Return values
bool

isResultEntryHandle()

Checks if the given handle is an LDAP result entry object or a resource based on the running PHP version.

public static isResultEntryHandle(mixed $handle) : bool
Parameters
$handle : mixed
Tags
psalm-assert-if-true

resource|ResultEntry $handle

Return values
bool

isResultHandle()

Checks if the given handle is an LDAP result object or a resource based on the running PHP version.

public static isResultHandle(mixed $handle) : bool
Parameters
$handle : mixed
Tags
psalm-assert-if-true

resource|Result $handle

Return values
bool

isHandle()

private static isHandle(mixed $handle, Connection>|ResultEntry>|Result> $handleClassName) : bool
Parameters
$handle : mixed
$handleClassName : Connection>|ResultEntry>|Result>
Tags
psalm-assert-if-true

resource|Connection|Result|ResultEntry $handle

Return values
bool

        
On this page

Search results