HTML5TreeConstructer
Table of Contents
Constants
-
AFTER_BODY
= 11
-
AFTER_HEAD
= 2
-
AFTR_FRAME
= 13
-
BEFOR_HEAD
= 0
-
END_PHASE
= 3
-
FORMATTING
= 2
-
IN_BODY
= 3
-
IN_CAPTION
= 5
-
IN_CELL
= 9
-
IN_CGROUP
= 6
-
IN_FRAME
= 12
-
IN_HEAD
= 1
-
IN_ROW
= 8
-
IN_SELECT
= 10
-
IN_TABLE
= 4
-
IN_TBODY
= 7
-
INIT_PHASE
= 0
-
MAIN_PHASE
= 2
-
MARKER
= 0
-
PHRASING
= 3
-
ROOT_PHASE
= 1
-
SCOPING
= 1
-
SPECIAL
= 0
Properties
-
$stack
: mixed
-
$a_formatting
: mixed
-
$dom
: mixed
-
$form_pointer
: mixed
-
$formatting
: mixed
-
$foster_parent
: mixed
-
$head_pointer
: mixed
-
$mode
: mixed
-
$phase
: mixed
-
$scoping
: mixed
-
$special
: mixed
Methods
-
__construct()
: mixed
-
emitToken()
: mixed
-
save()
: mixed
-
afterBody()
: mixed
-
afterFrameset()
: mixed
-
afterHead()
: mixed
-
appendToRealParent()
: mixed
-
beforeHead()
: mixed
-
clearStackToTableContext()
: mixed
-
clearTheActiveFormattingElementsUpToTheLastMarker()
: mixed
-
closeCell()
: mixed
-
elementInScope()
: mixed
-
generateImpliedEndTags()
: mixed
-
getElementCategory()
: mixed
-
inBody()
: mixed
-
inCaption()
: mixed
-
inCell()
: mixed
-
inColumnGroup()
: mixed
-
inFrameset()
: mixed
-
inHead()
: mixed
-
initPhase()
: mixed
-
inRow()
: mixed
-
inSelect()
: mixed
-
insertComment()
: mixed
-
insertElement()
: mixed
-
insertText()
: mixed
-
inTable()
: mixed
-
inTableBody()
: mixed
-
mainPhase()
: mixed
-
reconstructActiveFormattingElements()
: mixed
-
resetInsertionMode()
: mixed
-
rootElementPhase()
: mixed
-
trailingEndPhase()
: mixed
AFTER_BODY
public
mixed
AFTER_BODY
= 11
AFTER_HEAD
public
mixed
AFTER_HEAD
= 2
AFTR_FRAME
public
mixed
AFTR_FRAME
= 13
BEFOR_HEAD
public
mixed
BEFOR_HEAD
= 0
END_PHASE
public
mixed
END_PHASE
= 3
public
mixed
FORMATTING
= 2
IN_BODY
public
mixed
IN_BODY
= 3
IN_CAPTION
public
mixed
IN_CAPTION
= 5
IN_CELL
public
mixed
IN_CELL
= 9
IN_CGROUP
public
mixed
IN_CGROUP
= 6
IN_FRAME
public
mixed
IN_FRAME
= 12
IN_HEAD
public
mixed
IN_HEAD
= 1
IN_ROW
public
mixed
IN_ROW
= 8
IN_SELECT
public
mixed
IN_SELECT
= 10
IN_TABLE
public
mixed
IN_TABLE
= 4
IN_TBODY
public
mixed
IN_TBODY
= 7
INIT_PHASE
public
mixed
INIT_PHASE
= 0
MAIN_PHASE
public
mixed
MAIN_PHASE
= 2
MARKER
public
mixed
MARKER
= 0
PHRASING
public
mixed
PHRASING
= 3
ROOT_PHASE
public
mixed
ROOT_PHASE
= 1
SCOPING
public
mixed
SCOPING
= 1
SPECIAL
public
mixed
SPECIAL
= 0
$stack
public
mixed
$stack
= array()
private
mixed
$a_formatting
= array()
$dom
private
mixed
$dom
private
mixed
$form_pointer
= \null
private
mixed
$formatting
= array('a', 'b', 'big', 'em', 'font', 'i', 'nobr', 's', 'small', 'strike', 'strong', 'tt', 'u')
$foster_parent
private
mixed
$foster_parent
= \null
$head_pointer
private
mixed
$head_pointer
= \null
$mode
private
mixed
$mode
$phase
private
mixed
$phase
$scoping
private
mixed
$scoping
= array('button', 'caption', 'html', 'marquee', 'object', 'table', 'td', 'th')
$special
private
mixed
$special
= array('address', 'area', 'base', 'basefont', 'bgsound', 'blockquote', 'body', 'br', 'center', 'col', 'colgroup', 'dd', 'dir', 'div', 'dl', 'dt', 'embed', 'fieldset', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'iframe', 'image', 'img', 'input', 'isindex', 'li', 'link', 'listing', 'menu', 'meta', 'noembed', 'noframes', 'noscript', 'ol', 'optgroup', 'option', 'p', 'param', 'plaintext', 'pre', 'script', 'select', 'spacer', 'style', 'tbody', 'textarea', 'tfoot', 'thead', 'title', 'tr', 'ul', 'wbr')
__construct()
public
__construct() : mixed
emitToken()
public
emitToken(mixed $token) : mixed
Parameters
-
$token
: mixed
-
save()
public
save() : mixed
afterBody()
private
afterBody(mixed $token) : mixed
Parameters
-
$token
: mixed
-
afterFrameset()
private
afterFrameset(mixed $token) : mixed
Parameters
-
$token
: mixed
-
afterHead()
private
afterHead(mixed $token) : mixed
Parameters
-
$token
: mixed
-
appendToRealParent()
private
appendToRealParent(mixed $node) : mixed
Parameters
-
$node
: mixed
-
beforeHead()
private
beforeHead(mixed $token) : mixed
Parameters
-
$token
: mixed
-
clearStackToTableContext()
private
clearStackToTableContext(mixed $elements) : mixed
Parameters
-
$elements
: mixed
-
private
clearTheActiveFormattingElementsUpToTheLastMarker() : mixed
closeCell()
private
closeCell() : mixed
elementInScope()
private
elementInScope(mixed $el[, mixed $table = false ]) : mixed
Parameters
-
$el
: mixed
-
-
$table
: mixed
= false
-
private
generateImpliedEndTags([mixed $exclude = array() ]) : mixed
Parameters
-
$exclude
: mixed
= array()
-
getElementCategory()
private
getElementCategory(mixed $node) : mixed
Parameters
-
$node
: mixed
-
inBody()
private
inBody(mixed $token) : mixed
Parameters
-
$token
: mixed
-
inCaption()
private
inCaption(mixed $token) : mixed
Parameters
-
$token
: mixed
-
inCell()
private
inCell(mixed $token) : mixed
Parameters
-
$token
: mixed
-
inColumnGroup()
private
inColumnGroup(mixed $token) : mixed
Parameters
-
$token
: mixed
-
inFrameset()
private
inFrameset(mixed $token) : mixed
Parameters
-
$token
: mixed
-
inHead()
private
inHead(mixed $token) : mixed
Parameters
-
$token
: mixed
-
initPhase()
private
initPhase(mixed $token) : mixed
Parameters
-
$token
: mixed
-
inRow()
private
inRow(mixed $token) : mixed
Parameters
-
$token
: mixed
-
inSelect()
private
inSelect(mixed $token) : mixed
Parameters
-
$token
: mixed
-
private
insertComment(mixed $data) : mixed
Parameters
-
$data
: mixed
-
insertElement()
private
insertElement(mixed $token[, mixed $append = true ][, mixed $check = false ]) : mixed
Parameters
-
$token
: mixed
-
-
$append
: mixed
= true
-
-
$check
: mixed
= false
-
insertText()
private
insertText(mixed $data) : mixed
Parameters
-
$data
: mixed
-
inTable()
private
inTable(mixed $token) : mixed
Parameters
-
$token
: mixed
-
inTableBody()
private
inTableBody(mixed $token) : mixed
Parameters
-
$token
: mixed
-
mainPhase()
private
mainPhase(mixed $token) : mixed
Parameters
-
$token
: mixed
-
private
reconstructActiveFormattingElements() : mixed
resetInsertionMode()
private
resetInsertionMode() : mixed
rootElementPhase()
private
rootElementPhase(mixed $token) : mixed
Parameters
-
$token
: mixed
-
trailingEndPhase()
private
trailingEndPhase(mixed $token) : mixed
Parameters
-
$token
: mixed
-