Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402]

Copyright 2012-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.

Copyright: 2012-2017 Horde LLC
License: http://www.horde.org/licenses/lgpl21 LGPL 2.1
File Size: 188 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Horde_Imap_Client_Fetch_Results:: (12 methods):
  __construct()
  __get()
  get()
  ids()
  first()
  clear()
  offsetExists()
  offsetGet()
  offsetSet()
  offsetUnset()
  count()
  getIterator()


Class: Horde_Imap_Client_Fetch_Results  - X-Ref

Fetch results object for use with Horde_Imap_Client_Base#fetch().

__construct($ob_class = 'Horde_Imap_Client_Data_Fetch',$key_type = self::UID)   X-Ref
Constructor.

param: string $ob_class   Class to use when creating a new fetch
param: integer $key_type  Key type.

__get($name)   X-Ref
No description

get($key)   X-Ref
Return a fetch object, creating and storing an empty object in the
results set if it doesn't currently exist.

param: string $key  The key to retrieve.
return: Horde_Imap_Client_Data_Fetch  The fetch object.

ids()   X-Ref
Return the list of IDs.

return: array  ID list.

first()   X-Ref
Return the first fetch object in the results, if there is only one
object.

return: null|Horde_Imap_Client_Data_Fetch  The fetch object if there is

clear()   X-Ref
Clears all fetch results.


offsetExists($offset)   X-Ref
No description

offsetGet($offset)   X-Ref
No description

offsetSet($offset, $value)   X-Ref
No description

offsetUnset($offset)   X-Ref
No description

count()   X-Ref
No description

getIterator()   X-Ref
No description