PHP Class Horde_Kolab_Server_Connection_Mock_Search, horde

Copyright 2008-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Ldap_Search
Mostra file Open project: horde/horde

Public Methods

Method Description
__construct ( array $result ) Constructor.
asArray ( ) : array Return the result as an array.
count ( ) : integer The number of result entries.
sizeLimitExceeded ( ) : boolean Test if the last search exceeded the size limit.

Method Details

__construct() public method

Constructor.
public __construct ( array $result )
$result array The search result.

asArray() public method

Return the result as an array.
public asArray ( ) : array
return array The resulting array.

count() public method

The number of result entries.
public count ( ) : integer
return integer The number of elements.

sizeLimitExceeded() public method

Test if the last search exceeded the size limit.
public sizeLimitExceeded ( ) : boolean
return boolean True if the last search exceeded the size limit.