\Horde_Kolab_Server_Connection_Mock_Search

A mockup class to simulate LDAP search results.

Copyright 2008-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
__construct()
count()
sizeLimitExceeded()
asArray()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_result
N/A

Properties

$_result

$_result : array

The search result.

Type

array

Methods

__construct()

__construct(array  $result) 

Constructor.

Parameters

array $result

The search result.

count()

count() : integer

The number of result entries.

Returns

integer —

The number of elements.

sizeLimitExceeded()

sizeLimitExceeded() : boolean

Test if the last search exceeded the size limit.

Returns

boolean —

True if the last search exceeded the size limit.

asArray()

asArray() : array

Return the result as an array.

Returns

array —

The resulting array.