Property | 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. |
Method | 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 ( ) |
public __construct ( mixed $data = null ) | ||
$data | mixed | Data to add (string, resource, or Horde_Stream object). |
public addLiteralStream ( mixed $data ) | ||
$data | mixed | Data to add (string, resource, or Horde_Stream object). |
public getLiteralLength ( ) : mixed | ||
return | 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. |
public nextStream ( ) |
protected bool $_literalStream | ||
return | boolean |
protected array $_literals | ||
return | array |