Constants

INIT_PHASE

INIT_PHASE = 0

ROOT_PHASE

ROOT_PHASE = 1

MAIN_PHASE

MAIN_PHASE = 2

END_PHASE

END_PHASE = 3

BEFOR_HEAD

BEFOR_HEAD = 0

IN_HEAD

IN_HEAD = 1

AFTER_HEAD

AFTER_HEAD = 2

IN_BODY

IN_BODY = 3

IN_TABLE

IN_TABLE = 4

IN_CAPTION

IN_CAPTION = 5

IN_CGROUP

IN_CGROUP = 6

IN_TBODY

IN_TBODY = 7

IN_ROW

IN_ROW = 8

IN_CELL

IN_CELL = 9

IN_SELECT

IN_SELECT = 10

AFTER_BODY

AFTER_BODY = 11

IN_FRAME

IN_FRAME = 12

AFTR_FRAME

AFTR_FRAME = 13

SPECIAL

SPECIAL = 0

SCOPING

SCOPING = 1

FORMATTING

FORMATTING = 2

PHRASING

PHRASING = 3

MARKER

MARKER = 0

Properties

$stack

$stack

$phase

$phase

$mode

$mode

$dom

$dom

$foster_parent

$foster_parent

$a_formatting

$a_formatting

$head_pointer

$head_pointer

$form_pointer

$form_pointer

$scoping

$scoping

$formatting

$formatting

$special

$special

Methods

__construct()

__construct() : mixed

Returns

mixed —

emitToken()

emitToken(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

save()

save() : mixed

Returns

mixed —

initPhase()

initPhase(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

rootElementPhase()

rootElementPhase(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

mainPhase()

mainPhase(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

beforeHead()

beforeHead(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

inHead()

inHead(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

afterHead()

afterHead(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

inBody()

inBody(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

inTable()

inTable(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

inCaption()

inCaption(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

inColumnGroup()

inColumnGroup(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

inTableBody()

inTableBody(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

inRow()

inRow(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

inCell()

inCell(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

inSelect()

inSelect(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

afterBody()

afterBody(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

inFrameset()

inFrameset(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

afterFrameset()

afterFrameset(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

trailingEndPhase()

trailingEndPhase(mixed  $token) : mixed

Parameters

mixed $token

Returns

mixed —

insertElement()

insertElement(mixed  $token, mixed  $append = true, mixed  $check = false) : mixed

Parameters

mixed $token
mixed $append
mixed $check

Returns

mixed —

insertText()

insertText(mixed  $data) : mixed

Parameters

mixed $data

Returns

mixed —

insertComment()

insertComment(mixed  $data) : mixed

Parameters

mixed $data

Returns

mixed —

appendToRealParent()

appendToRealParent(mixed  $node) : mixed

Parameters

mixed $node

Returns

mixed —

elementInScope()

elementInScope(mixed  $el, mixed  $table = false) : mixed

Parameters

mixed $el
mixed $table

Returns

mixed —

reconstructActiveFormattingElements()

reconstructActiveFormattingElements() : mixed

Returns

mixed —

clearTheActiveFormattingElementsUpToTheLastMarker()

clearTheActiveFormattingElementsUpToTheLastMarker() : mixed

Returns

mixed —

generateImpliedEndTags()

generateImpliedEndTags(mixed  $exclude = array()) : mixed

Parameters

mixed $exclude

Returns

mixed —

getElementCategory()

getElementCategory(mixed  $node) : mixed

Parameters

mixed $node

Returns

mixed —

clearStackToTableContext()

clearStackToTableContext(mixed  $elements) : mixed

Parameters

mixed $elements

Returns

mixed —

resetInsertionMode()

resetInsertionMode() : mixed

Returns

mixed —

closeCell()

closeCell() : mixed

Returns

mixed —