Constants

SWITCH_PAGE

SWITCH_PAGE

END

END

ENTITY

ENTITY

STR_I

STR_I

LITERAL

LITERAL

EXT_I_0

EXT_I_0

EXT_I_1

EXT_I_1

EXT_I_2

EXT_I_2

PI

PI

LITERAL_C

LITERAL_C

EXT_T_0

EXT_T_0

EXT_T_1

EXT_T_1

EXT_T_2

EXT_T_2

STR_T

STR_T

LITERAL_A

LITERAL_A

EXT_0

EXT_0

EXT_1

EXT_1

EXT_2

EXT_2

OPAQUE

OPAQUE

LITERAL_AC

LITERAL_AC

EN_TYPE

EN_TYPE

EN_TAG

EN_TAG

EN_CONTENT

EN_CONTENT

EN_FLAGS

EN_FLAGS

EN_ATTRIBUTES

EN_ATTRIBUTES

EN_TYPE_STARTTAG

EN_TYPE_STARTTAG

EN_TYPE_ENDTAG

EN_TYPE_ENDTAG

EN_TYPE_CONTENT

EN_TYPE_CONTENT

EN_FLAGS_CONTENT

EN_FLAGS_CONTENT

EN_FLAGS_ATTRIBUTES

EN_FLAGS_ATTRIBUTES

WBXML_VERSION

WBXML_VERSION

LOG_DETAILED

LOG_DETAILED

LOG_PROTOCOL

LOG_PROTOCOL

LOG_MAXCONTENT

LOG_MAXCONTENT

Properties

$_dtd

$_dtd : array

The code page definitions for the wbxml encoder/decoders

Type

array

$_tagcp

$_tagcp : integer

Track the codepage for the currently output tag so we know when to switch codepages.

Type

integer

$_logStack

$_logStack : array

Used to hold log entries for each tag so we can only output the log entries for the tags that are actually sent (@see $_stack).

Type

array

$_logger

$_logger : \Horde_Log_Logger

Logger

Type

\Horde_Log_Logger

$_stream

$_stream : \Horde_Stream

Input or Output stream

Type

\Horde_Stream

$_procid

$_procid : integer

The current procid

Type

integer

$_logLevel

$_logLevel : 

Logging level.

Type

Methods

__construct()

__construct(\stream  $stream,   $log_level = self::LOG_PROTOCOL) 

Parameters

\stream $stream

The [input|output] stream.

$log_level

getStream()

getStream() 

setLogger()

setLogger(\Horde_Log_Logger  $logger) 

Set the logger instance

Parameters

\Horde_Log_Logger $logger

The logger.