PHP Class Horde_Imap_Client_Tokenize, horde

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.
Author: Michael Slusarz ([email protected])
Inheritance: implements Iterator
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_current mixed Current data.
$_key integer Current key.
$_level integer Sublevel.
$_literalStream boolean Return Horde_Stream object for literal tokens?
$_literals array Array of literal stream objects.
$_nextModify array next() modifiers.
$_stream Horde_Stream Data stream.

Méthodes publiques

Méthode Description
__clone ( )
__construct ( mixed $data = null ) Constructor.
__get ( $name )
__sleep ( )
__toString ( )
add ( mixed $data ) Add data to buffer.
addLiteralStream ( mixed $data ) Add data to literal stream at the current position.
current ( )
flushIterator ( boolean $return = true, boolean $sublevel = true ) : array Flush the remaining entries left in the iterator.
getLiteralLength ( ) : mixed Return literal length data located at the end of the stream.
key ( )
next ( ) : mixed
nextStream ( ) Force return of literal data as stream, if next token.
rewind ( )
valid ( )

Method Details

__clone() public méthode

public __clone ( )

__construct() public méthode

Constructor.
public __construct ( mixed $data = null )
$data mixed Data to add (string, resource, or Horde_Stream object).

__get() public méthode

public __get ( $name )

__sleep() public méthode

public __sleep ( )

__toString() public méthode

public __toString ( )

add() public méthode

Add data to buffer.
public add ( mixed $data )
$data mixed Data to add (string, resource, or Horde_Stream object).

addLiteralStream() public méthode

Add data to literal stream at the current position.
public addLiteralStream ( mixed $data )
$data mixed Data to add (string, resource, or Horde_Stream object).

current() public méthode

public current ( )

flushIterator() public méthode

Flush the remaining entries left in the iterator.
public flushIterator ( boolean $return = true, boolean $sublevel = true ) : array
$return boolean If true, return entries. Only returns entries on the current level.
$sublevel boolean Only flush items in current sublevel?
Résultat array The entries if $return is true.

getLiteralLength() public méthode

Return literal length data located at the end of the stream.
public getLiteralLength ( ) : mixed
Résultat mixed Null if no literal data found, or an array with these keys: - binary: (boolean) True if this is a literal8. - length: (integer) Length of the literal.

key() public méthode

public key ( )

next() public méthode

public next ( ) : mixed
Résultat mixed Either a string, boolean (true for open paren, false for close paren/EOS), Horde_Stream object, or null.

nextStream() public méthode

Force return of literal data as stream, if next token.
See also: next()
public nextStream ( )

rewind() public méthode

public rewind ( )

valid() public méthode

public valid ( )

Property Details

$_current protected_oe property

Current data.
protected mixed $_current
Résultat mixed

$_key protected_oe property

Current key.
protected int $_key
Résultat integer

$_level protected_oe property

Sublevel.
protected int $_level
Résultat integer

$_literalStream protected_oe property

Return Horde_Stream object for literal tokens?
protected bool $_literalStream
Résultat boolean

$_literals protected_oe property

Array of literal stream objects.
protected array $_literals
Résultat array

$_nextModify protected_oe property

next() modifiers.
protected array $_nextModify
Résultat array

$_stream protected_oe property

Data stream.
protected Horde_Stream $_stream
Résultat Horde_Stream