Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]

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: 413 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Horde_Imap_Client_Tokenize:: (15 methods):
  __construct()
  __clone()
  __get()
  __sleep()
  __toString()
  add()
  addLiteralStream()
  flushIterator()
  getLiteralLength()
  current()
  key()
  next()
  nextStream()
  rewind()
  valid()


Class: Horde_Imap_Client_Tokenize  - X-Ref

Tokenization of an IMAP data stream.

NOTE: This class is NOT intended to be accessed outside of this package.
There is NO guarantees that the API of this class will not change across
versions.

__construct($data = null)   X-Ref
Constructor.

param: mixed $data  Data to add (string, resource, or Horde_Stream

__clone()   X-Ref
No description

__get($name)   X-Ref
No description

__sleep()   X-Ref
No description

__toString()   X-Ref
No description

add($data)   X-Ref
Add data to buffer.

param: mixed $data  Data to add (string, resource, or Horde_Stream

addLiteralStream($data)   X-Ref
Add data to literal stream at the current position.

param: mixed $data  Data to add (string, resource, or Horde_Stream

flushIterator($return = true, $sublevel = true)   X-Ref
Flush the remaining entries left in the iterator.

param: boolean $return    If true, return entries. Only returns entries
param: boolean $sublevel  Only flush items in current sublevel?
return: array  The entries if $return is true.

getLiteralLength()   X-Ref
Return literal length data located at the end of the stream.

return: mixed  Null if no literal data found, or an array with these

current()   X-Ref
No description

key()   X-Ref
No description

next()   X-Ref

return: mixed  Either a string, boolean (true for open paren, false for

nextStream()   X-Ref
Force return of literal data as stream, if next token.


rewind()   X-Ref
No description

valid()   X-Ref
No description