Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

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: 418 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