Class humhub\modules\ldap\components\ZendLdap

Inheritancehumhub\modules\ldap\components\ZendLdap » Zend\Ldap\Ldap

Public Methods

Hide inherited methods

MethodDescriptionDefined By
multiPageSearch() An LDAP search routine for finding information and returning paginated results https://stackoverflow.com/questions/16892693/zf2-ldap-pagination humhub\modules\ldap\components\ZendLdap

Method Details

multiPageSearch() public method

An LDAP search routine for finding information and returning paginated results https://stackoverflow.com/questions/16892693/zf2-ldap-pagination

Options can be either passed as single parameters according to the method signature or as an array with one or more of the following keys

  • filter
  • baseDn
  • scope
  • attributes
  • sort
  • collectionClass
  • sizelimit
  • timelimit
public array multiPageSearch ( $filter, $basedn null, $scope, array $attributes = [], $sort null, $collectionClass null, $timelimit 0, $pageSize 10000 )
$filter string|\Zend\Ldap\Filter\AbstractFilter|array
$basedn string|\Zend\Ldap\Dn|null
$scope integer
$attributes array
$sort string|null
$collectionClass string|null
$timelimit integer
$pageSize integer
throws \Zend\Ldap\Exception\LdapException