Constants

PCDATA

PCDATA = 0

RCDATA

RCDATA = 1

PLAINTEXT

PLAINTEXT = 3

DOCTYPE

DOCTYPE = 0

STARTTAG

STARTTAG = 1

ENDTAG

ENDTAG = 2

COMMENT

COMMENT = 3

CHARACTR

CHARACTR = 4

Properties

$data

$data

$char

$char

$EOF

$EOF

$state

$state

$tree

$tree

$token

$token

$content_model

$content_model

$escape

$escape

$entities

$entities

Methods

__construct()

__construct(mixed  $data) : mixed

Parameters

mixed $data

Returns

mixed —

save()

save() : mixed

Returns

mixed —

char()

char() : mixed

Returns

mixed —

character()

character(mixed  $s, mixed  $l) : mixed

Parameters

mixed $s
mixed $l

Returns

mixed —

characters()

characters(mixed  $char_class, mixed  $start) : mixed

Parameters

mixed $char_class
mixed $start

Returns

mixed —

dataState()

dataState() : mixed

Returns

mixed —

entityDataState()

entityDataState() : mixed

Returns

mixed —

tagOpenState()

tagOpenState() : mixed

Returns

mixed —

closeTagOpenState()

closeTagOpenState() : mixed

Returns

mixed —

tagNameState()

tagNameState() : mixed

Returns

mixed —

beforeAttributeNameState()

beforeAttributeNameState() : mixed

Returns

mixed —

attributeNameState()

attributeNameState() : mixed

Returns

mixed —

afterAttributeNameState()

afterAttributeNameState() : mixed

Returns

mixed —

beforeAttributeValueState()

beforeAttributeValueState() : mixed

Returns

mixed —

attributeValueDoubleQuotedState()

attributeValueDoubleQuotedState() : mixed

Returns

mixed —

attributeValueSingleQuotedState()

attributeValueSingleQuotedState() : mixed

Returns

mixed —

attributeValueUnquotedState()

attributeValueUnquotedState() : mixed

Returns

mixed —

entityInAttributeValueState()

entityInAttributeValueState() : mixed

Returns

mixed —

bogusCommentState()

bogusCommentState() : mixed

Returns

mixed —

markupDeclarationOpenState()

markupDeclarationOpenState() : mixed

Returns

mixed —

commentState()

commentState() : mixed

Returns

mixed —

commentDashState()

commentDashState() : mixed

Returns

mixed —

commentEndState()

commentEndState() : mixed

Returns

mixed —

doctypeState()

doctypeState() : mixed

Returns

mixed —

beforeDoctypeNameState()

beforeDoctypeNameState() : mixed

Returns

mixed —

doctypeNameState()

doctypeNameState() : mixed

Returns

mixed —

afterDoctypeNameState()

afterDoctypeNameState() : mixed

Returns

mixed —

bogusDoctypeState()

bogusDoctypeState() : mixed

Returns

mixed —

entity()

entity() : mixed

Returns

mixed —

emitToken()

emitToken(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

EOF()

EOF() : mixed

Returns

mixed —