|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Collaboration diagram for HTML5TreeConstructer:Public Member Functions | |
| __construct () | |
| emitToken ($token) | |
| save () | |
| __construct () | |
| emitToken ($token) | |
| save () | |
Data Fields | |
| $stack = array() | |
| const | INIT_PHASE = 0 |
| const | ROOT_PHASE = 1 |
| const | MAIN_PHASE = 2 |
| const | END_PHASE = 3 |
| const | BEFOR_HEAD = 0 |
| const | IN_HEAD = 1 |
| const | AFTER_HEAD = 2 |
| const | IN_BODY = 3 |
| const | IN_TABLE = 4 |
| const | IN_CAPTION = 5 |
| const | IN_CGROUP = 6 |
| const | IN_TBODY = 7 |
| const | IN_ROW = 8 |
| const | IN_CELL = 9 |
| const | IN_SELECT = 10 |
| const | AFTER_BODY = 11 |
| const | IN_FRAME = 12 |
| const | AFTR_FRAME = 13 |
| const | SPECIAL = 0 |
| const | SCOPING = 1 |
| const | FORMATTING = 2 |
| const | PHRASING = 3 |
| const | MARKER = 0 |
Private Attributes | |
| $phase | |
| $mode | |
| $dom | |
| $foster_parent = null | |
| $a_formatting = array() | |
| $head_pointer = null | |
| $form_pointer = null | |
| $scoping = array('button', 'caption', 'html', 'marquee', 'object', 'table', 'td', 'th') | |
| $formatting | |
| $special | |
| HTML5TreeConstructer::__construct | ( | ) |
Definition at line 1699 of file PH5P.php.
References BEFOR_HEAD, and INIT_PHASE.
| HTML5TreeConstructer::__construct | ( | ) |
Definition at line 1195 of file PH5P.php.
References BEFOR_HEAD, and INIT_PHASE.
|
private |
Definition at line 4201 of file PH5P.php.
References $comment, HTML5\CHARACTR, HTML5\COMMENT, END_PHASE, HTML5\ENDTAG, IN_BODY, and inBody().
Referenced by inBody(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3340 of file PH5P.php.
References $comment, HTML5\CHARACTR, HTML5\COMMENT, END_PHASE, HTML5\ENDTAG, IN_BODY, and inBody().
Here is the call graph for this function:
|
private |
Definition at line 4311 of file PH5P.php.
References HTML5\CHARACTR, HTML5\COMMENT, END_PHASE, HTML5\ENDTAG, inBody(), insertComment(), insertText(), and HTML5\STARTTAG.
Referenced by mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3444 of file PH5P.php.
References HTML5\CHARACTR, HTML5\COMMENT, END_PHASE, HTML5\ENDTAG, inBody(), insertComment(), insertText(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 2112 of file PH5P.php.
References afterHead(), HTML5\CHARACTR, HTML5\COMMENT, IN_BODY, IN_FRAME, IN_HEAD, inBody(), inHead(), insertComment(), insertElement(), insertText(), and HTML5\STARTTAG.
Referenced by afterHead(), inHead(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1548 of file PH5P.php.
References afterHead(), HTML5\CHARACTR, HTML5\COMMENT, IN_BODY, IN_FRAME, IN_HEAD, inBody(), inHead(), insertComment(), insertElement(), insertText(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 4434 of file PH5P.php.
References $n.
Referenced by insertComment(), insertElement(), and insertText().
Here is the caller graph for this function:
|
private |
Definition at line 3549 of file PH5P.php.
References $n.
|
private |
Definition at line 1916 of file PH5P.php.
References beforeHead(), HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, IN_HEAD, inHead(), insertComment(), insertElement(), insertText(), and HTML5\STARTTAG.
Referenced by beforeHead(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1368 of file PH5P.php.
References beforeHead(), HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, IN_HEAD, inHead(), insertComment(), insertElement(), insertText(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 4648 of file PH5P.php.
Referenced by inRow(), inTable(), and inTableBody().
Here is the caller graph for this function:
|
private |
Definition at line 3752 of file PH5P.php.
|
private |
Definition at line 4597 of file PH5P.php.
Referenced by inCaption(), and inCell().
Here is the caller graph for this function:
|
private |
Definition at line 3700 of file PH5P.php.
|
private |
Definition at line 4765 of file PH5P.php.
References elementInScope(), HTML5\ENDTAG, and inCell().
Referenced by inCell().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3869 of file PH5P.php.
References elementInScope(), HTML5\ENDTAG, and inCell().
Here is the call graph for this function:
|
private |
Definition at line 4465 of file PH5P.php.
References $n, and elementInScope().
Referenced by closeCell(), elementInScope(), inBody(), inCaption(), inCell(), inRow(), inSelect(), inTable(), and inTableBody().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3578 of file PH5P.php.
References $n, and elementInScope().
Here is the call graph for this function:| HTML5TreeConstructer::emitToken | ( | $token | ) |
Definition at line 1712 of file PH5P.php.
References END_PHASE, INIT_PHASE, initPhase(), MAIN_PHASE, mainPhase(), ROOT_PHASE, rootElementPhase(), and trailingEndPhase().
Referenced by inBody().
Here is the call graph for this function:
Here is the caller graph for this function:| HTML5TreeConstructer::emitToken | ( | $token | ) |
Definition at line 1208 of file PH5P.php.
References END_PHASE, INIT_PHASE, initPhase(), MAIN_PHASE, mainPhase(), ROOT_PHASE, rootElementPhase(), and trailingEndPhase().
Here is the call graph for this function:
|
private |
Definition at line 4619 of file PH5P.php.
References $exclude.
Referenced by inBody(), inCaption(), inCell(), inTable(), and mainPhase().
Here is the caller graph for this function:
|
private |
Definition at line 3722 of file PH5P.php.
References $exclude.
|
private |
|
private |
Definition at line 4634 of file PH5P.php.
References FORMATTING, PHRASING, SCOPING, and SPECIAL.
Referenced by inBody().
Here is the caller graph for this function:
|
private |
Definition at line 2175 of file PH5P.php.
References $n, $x, AFTER_BODY, afterBody(), HTML5\CDATA, HTML5\CHARACTR, HTML5\COMMENT, elementInScope(), emitToken(), HTML5\ENDTAG, generateImpliedEndTags(), getElementCategory(), IN_SELECT, IN_TABLE, inBody(), inHead(), insertComment(), insertElement(), insertText(), MARKER, HTML5\PLAINTEXT, HTML5\RCDATA, reconstructActiveFormattingElements(), and HTML5\STARTTAG.
Referenced by afterBody(), afterFrameset(), afterHead(), inBody(), inCaption(), inCell(), inFrameset(), inTable(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1605 of file PH5P.php.
References $n, $x, AFTER_BODY, afterBody(), HTML5\CDATA, HTML5\CHARACTR, HTML5\COMMENT, elementInScope(), emitToken(), HTML5\ENDTAG, generateImpliedEndTags(), getElementCategory(), IN_SELECT, IN_TABLE, inBody(), inHead(), insertComment(), insertElement(), insertText(), MARKER, HTML5\PLAINTEXT, HTML5\RCDATA, reconstructActiveFormattingElements(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 3527 of file PH5P.php.
References clearTheActiveFormattingElementsUpToTheLastMarker(), elementInScope(), HTML5\ENDTAG, generateImpliedEndTags(), IN_TABLE, inBody(), inCaption(), inTable(), and HTML5\STARTTAG.
Referenced by inCaption(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 2782 of file PH5P.php.
References clearTheActiveFormattingElementsUpToTheLastMarker(), elementInScope(), HTML5\ENDTAG, generateImpliedEndTags(), IN_TABLE, inBody(), inCaption(), inTable(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 3881 of file PH5P.php.
References clearTheActiveFormattingElementsUpToTheLastMarker(), closeCell(), elementInScope(), HTML5\ENDTAG, generateImpliedEndTags(), IN_ROW, inBody(), inRow(), and HTML5\STARTTAG.
Referenced by closeCell(), inRow(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3082 of file PH5P.php.
References clearTheActiveFormattingElementsUpToTheLastMarker(), closeCell(), elementInScope(), HTML5\ENDTAG, generateImpliedEndTags(), IN_ROW, inBody(), inRow(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 3622 of file PH5P.php.
References $comment, $text, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, IN_TABLE, inColumnGroup(), insertElement(), inTable(), and HTML5\STARTTAG.
Referenced by inColumnGroup(), inTable(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 2851 of file PH5P.php.
References $comment, $text, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, IN_TABLE, inColumnGroup(), insertElement(), inTable(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 4242 of file PH5P.php.
References AFTR_FRAME, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, inBody(), insertComment(), insertElement(), insertText(), and HTML5\STARTTAG.
Referenced by mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3380 of file PH5P.php.
References AFTR_FRAME, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, inBody(), insertComment(), insertElement(), insertText(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 1977 of file PH5P.php.
References AFTER_HEAD, afterHead(), HTML5\CDATA, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, inHead(), insertComment(), insertElement(), insertText(), HTML5\PCDATA, HTML5\RCDATA, and HTML5\STARTTAG.
Referenced by afterHead(), beforeHead(), inBody(), inHead(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1423 of file PH5P.php.
References AFTER_HEAD, afterHead(), HTML5\CDATA, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, inHead(), insertComment(), insertElement(), insertText(), HTML5\PCDATA, HTML5\RCDATA, and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 1730 of file PH5P.php.
References $text, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, HTML5\EOF, ROOT_PHASE, rootElementPhase(), and HTML5\STARTTAG.
Referenced by emitToken().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1218 of file PH5P.php.
References $text, HTML5\CHARACTR, HTML5\COMMENT, HTML5\ENDTAG, HTML5\EOF, ROOT_PHASE, rootElementPhase(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 3783 of file PH5P.php.
References clearStackToTableContext(), elementInScope(), HTML5\ENDTAG, IN_CELL, IN_TBODY, inCell(), inRow(), insertElement(), inTable(), MARKER, and HTML5\STARTTAG.
Referenced by inCell(), inRow(), inTableBody(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 2996 of file PH5P.php.
References clearStackToTableContext(), elementInScope(), HTML5\ENDTAG, IN_CELL, IN_TBODY, inCell(), inRow(), insertElement(), inTable(), MARKER, and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 4020 of file PH5P.php.
References HTML5\CHARACTR, HTML5\COMMENT, elementInScope(), HTML5\ENDTAG, inSelect(), insertComment(), insertElement(), insertText(), mainPhase(), resetInsertionMode(), and HTML5\STARTTAG.
Referenced by inSelect(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3190 of file PH5P.php.
References HTML5\CHARACTR, HTML5\COMMENT, elementInScope(), HTML5\ENDTAG, inSelect(), insertComment(), insertElement(), insertText(), mainPhase(), resetInsertionMode(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 4428 of file PH5P.php.
References $comment, $data, and appendToRealParent().
Referenced by afterFrameset(), afterHead(), beforeHead(), inBody(), inFrameset(), inHead(), and inSelect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3543 of file PH5P.php.
References $comment, $data, and appendToRealParent().
Here is the call graph for this function:
|
private |
Definition at line 3521 of file PH5P.php.
References appendToRealParent().
Here is the call graph for this function:
|
private |
Definition at line 4393 of file PH5P.php.
References appendToRealParent().
Referenced by afterHead(), beforeHead(), inBody(), inColumnGroup(), inFrameset(), inHead(), inRow(), inSelect(), inTable(), and inTableBody().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 4422 of file PH5P.php.
References $data, $text, and appendToRealParent().
Referenced by afterFrameset(), afterHead(), beforeHead(), inBody(), inFrameset(), inHead(), and inSelect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3537 of file PH5P.php.
References $data, $text, and appendToRealParent().
Here is the call graph for this function:
|
private |
Definition at line 3315 of file PH5P.php.
References $comment, $n, $text, HTML5\CHARACTR, clearStackToTableContext(), HTML5\COMMENT, elementInScope(), HTML5\ENDTAG, generateImpliedEndTags(), IN_CAPTION, IN_CGROUP, IN_TBODY, inBody(), inColumnGroup(), insertElement(), inTable(), inTableBody(), mainPhase(), MARKER, resetInsertionMode(), and HTML5\STARTTAG.
Referenced by inCaption(), inColumnGroup(), inRow(), inTable(), inTableBody(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 2604 of file PH5P.php.
References $comment, $n, $text, HTML5\CHARACTR, clearStackToTableContext(), HTML5\COMMENT, elementInScope(), HTML5\ENDTAG, generateImpliedEndTags(), IN_CAPTION, IN_CGROUP, IN_TBODY, inBody(), inColumnGroup(), insertElement(), inTable(), inTableBody(), mainPhase(), MARKER, resetInsertionMode(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 3684 of file PH5P.php.
References clearStackToTableContext(), elementInScope(), HTML5\ENDTAG, IN_ROW, IN_TABLE, inRow(), insertElement(), inTable(), inTableBody(), mainPhase(), and HTML5\STARTTAG.
Referenced by inTable(), inTableBody(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 2909 of file PH5P.php.
References clearStackToTableContext(), elementInScope(), HTML5\ENDTAG, IN_ROW, IN_TABLE, inRow(), insertElement(), inTable(), inTableBody(), mainPhase(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
Definition at line 1835 of file PH5P.php.
References AFTER_BODY, AFTER_HEAD, afterBody(), afterFrameset(), afterHead(), AFTR_FRAME, BEFOR_HEAD, beforeHead(), HTML5\DOCTYPE, END_PHASE, HTML5\EOF, generateImpliedEndTags(), IN_BODY, IN_CAPTION, IN_CELL, IN_CGROUP, IN_FRAME, IN_HEAD, IN_ROW, IN_SELECT, IN_TABLE, IN_TBODY, inBody(), inCaption(), inCell(), inColumnGroup(), inFrameset(), inHead(), inRow(), inSelect(), inTable(), inTableBody(), HTML5\STARTTAG, and trailingEndPhase().
Referenced by emitToken(), inSelect(), inTable(), inTableBody(), rootElementPhase(), and trailingEndPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1317 of file PH5P.php.
References AFTER_BODY, AFTER_HEAD, afterBody(), afterFrameset(), afterHead(), AFTR_FRAME, BEFOR_HEAD, beforeHead(), HTML5\DOCTYPE, END_PHASE, HTML5\EOF, generateImpliedEndTags(), IN_BODY, IN_CAPTION, IN_CELL, IN_CGROUP, IN_FRAME, IN_HEAD, IN_ROW, IN_SELECT, IN_TABLE, IN_TBODY, inBody(), inCaption(), inCell(), inColumnGroup(), inFrameset(), inHead(), inRow(), inSelect(), inTable(), inTableBody(), HTML5\STARTTAG, and trailingEndPhase().
Here is the call graph for this function:
|
private |
Definition at line 4525 of file PH5P.php.
Referenced by inBody().
Here is the caller graph for this function:
|
private |
Definition at line 3628 of file PH5P.php.
|
private |
Definition at line 4666 of file PH5P.php.
References $n, IN_BODY, IN_CAPTION, IN_CELL, IN_CGROUP, IN_FRAME, IN_ROW, IN_SELECT, IN_TABLE, and IN_TBODY.
Referenced by inSelect(), and inTable().
Here is the caller graph for this function:
|
private |
Definition at line 3770 of file PH5P.php.
References $n, IN_BODY, IN_CAPTION, IN_CELL, IN_CGROUP, IN_FRAME, IN_ROW, IN_SELECT, IN_TABLE, and IN_TBODY.
|
private |
Definition at line 1785 of file PH5P.php.
References $comment, $html, $text, HTML5\CHARACTR, HTML5\COMMENT, HTML5\DOCTYPE, HTML5\ENDTAG, HTML5\EOF, MAIN_PHASE, mainPhase(), and HTML5\STARTTAG.
Referenced by emitToken(), and initPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1269 of file PH5P.php.
References $comment, $html, $text, HTML5\CHARACTR, HTML5\COMMENT, HTML5\DOCTYPE, HTML5\ENDTAG, HTML5\EOF, MAIN_PHASE, mainPhase(), and HTML5\STARTTAG.
Here is the call graph for this function:| HTML5TreeConstructer::save | ( | ) |
|
private |
Definition at line 4350 of file PH5P.php.
References $comment, HTML5\CHARACTR, HTML5\COMMENT, HTML5\DOCTYPE, HTML5\ENDTAG, HTML5\EOF, MAIN_PHASE, mainPhase(), and HTML5\STARTTAG.
Referenced by emitToken(), and mainPhase().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 3480 of file PH5P.php.
References $comment, HTML5\CHARACTR, HTML5\COMMENT, HTML5\DOCTYPE, HTML5\ENDTAG, HTML5\EOF, MAIN_PHASE, mainPhase(), and HTML5\STARTTAG.
Here is the call graph for this function:
|
private |
|
private |
| const HTML5TreeConstructer::AFTER_BODY = 11 |
Definition at line 1687 of file PH5P.php.
Referenced by inBody(), and mainPhase().
| const HTML5TreeConstructer::AFTER_HEAD = 2 |
Definition at line 1678 of file PH5P.php.
Referenced by inHead(), and mainPhase().
| const HTML5TreeConstructer::AFTR_FRAME = 13 |
Definition at line 1689 of file PH5P.php.
Referenced by inFrameset(), and mainPhase().
| const HTML5TreeConstructer::BEFOR_HEAD = 0 |
Definition at line 1676 of file PH5P.php.
Referenced by __construct(), and mainPhase().
| const HTML5TreeConstructer::END_PHASE = 3 |
Definition at line 1673 of file PH5P.php.
Referenced by afterBody(), afterFrameset(), emitToken(), and mainPhase().
| const HTML5TreeConstructer::FORMATTING = 2 |
Definition at line 1694 of file PH5P.php.
Referenced by getElementCategory().
| const HTML5TreeConstructer::IN_BODY = 3 |
Definition at line 1679 of file PH5P.php.
Referenced by afterBody(), afterHead(), mainPhase(), and resetInsertionMode().
| const HTML5TreeConstructer::IN_CAPTION = 5 |
Definition at line 1681 of file PH5P.php.
Referenced by inTable(), mainPhase(), and resetInsertionMode().
| const HTML5TreeConstructer::IN_CELL = 9 |
Definition at line 1685 of file PH5P.php.
Referenced by inRow(), mainPhase(), and resetInsertionMode().
| const HTML5TreeConstructer::IN_CGROUP = 6 |
Definition at line 1682 of file PH5P.php.
Referenced by inTable(), mainPhase(), and resetInsertionMode().
| const HTML5TreeConstructer::IN_FRAME = 12 |
Definition at line 1688 of file PH5P.php.
Referenced by afterHead(), mainPhase(), and resetInsertionMode().
| const HTML5TreeConstructer::IN_HEAD = 1 |
Definition at line 1677 of file PH5P.php.
Referenced by afterHead(), beforeHead(), and mainPhase().
| const HTML5TreeConstructer::IN_ROW = 8 |
Definition at line 1684 of file PH5P.php.
Referenced by inCell(), inTableBody(), mainPhase(), and resetInsertionMode().
| const HTML5TreeConstructer::IN_SELECT = 10 |
Definition at line 1686 of file PH5P.php.
Referenced by inBody(), mainPhase(), and resetInsertionMode().
| const HTML5TreeConstructer::IN_TABLE = 4 |
Definition at line 1680 of file PH5P.php.
Referenced by inBody(), inCaption(), inColumnGroup(), inTableBody(), mainPhase(), and resetInsertionMode().
| const HTML5TreeConstructer::IN_TBODY = 7 |
Definition at line 1683 of file PH5P.php.
Referenced by inRow(), inTable(), mainPhase(), and resetInsertionMode().
| const HTML5TreeConstructer::INIT_PHASE = 0 |
Definition at line 1670 of file PH5P.php.
Referenced by __construct(), and emitToken().
| const HTML5TreeConstructer::MAIN_PHASE = 2 |
Definition at line 1672 of file PH5P.php.
Referenced by emitToken(), rootElementPhase(), and trailingEndPhase().
| const HTML5TreeConstructer::MARKER = 0 |
| const HTML5TreeConstructer::PHRASING = 3 |
Definition at line 1695 of file PH5P.php.
Referenced by getElementCategory().
| const HTML5TreeConstructer::ROOT_PHASE = 1 |
Definition at line 1671 of file PH5P.php.
Referenced by emitToken(), and initPhase().
| const HTML5TreeConstructer::SCOPING = 1 |
Definition at line 1693 of file PH5P.php.
Referenced by getElementCategory().
| const HTML5TreeConstructer::SPECIAL = 0 |
Definition at line 1692 of file PH5P.php.
Referenced by getElementCategory().