Query

Query

class Query extends AbstractQuery

Methods

__construct(ConnectionInterface $connection, $dn, $query, array $options = array())
__destruct()
CollectionInterface|Entry[] execute()

Executes a query and returns the list of Ldap entries.

resource getResource()

Returns a LDAP search resource.

Details

__construct(ConnectionInterface $connection, $dn, $query, array $options = array())

Parameters

ConnectionInterface $connection
$dn
$query
array $options

__destruct()

CollectionInterface|Entry[] execute()

Executes a query and returns the list of Ldap entries.

Return Value

CollectionInterface|Entry[]

Exceptions

NotBoundException
LdapException

resource getResource()

Returns a LDAP search resource.

Return Value

resource

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/Ldap/Adapter/ExtLdap/Query.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部