Skip to content

HTML5

  • Full name: \HTML5

Constants

Constant Visibility Type Value
PCDATA public 0
RCDATA public 1
CDATA public 2
PLAINTEXT public 3
DOCTYPE public 0
STARTTAG public 1
ENDTAG public 2
COMMENT public 3
CHARACTR public 4
EOF public 5

Properties

data

private $data

char

private $char

EOF

private $EOF

state

private $state

tree

private $tree

token

private $token

content_model

private $content_model

escape

private $escape

entities

private $entities

Methods

__construct

public __construct(mixed $data): mixed

Parameters:

Parameter Type Description
$data mixed

save

public save(): mixed

char

private char(): mixed

character

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

Parameters:

Parameter Type Description
$s mixed
$l mixed

characters

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

Parameters:

Parameter Type Description
$char_class mixed
$start mixed

dataState

private dataState(): mixed

entityDataState

private entityDataState(): mixed

tagOpenState

private tagOpenState(): mixed

closeTagOpenState

private closeTagOpenState(): mixed

tagNameState

private tagNameState(): mixed

beforeAttributeNameState

private beforeAttributeNameState(): mixed

attributeNameState

private attributeNameState(): mixed

afterAttributeNameState

private afterAttributeNameState(): mixed

beforeAttributeValueState

private beforeAttributeValueState(): mixed

attributeValueDoubleQuotedState

private attributeValueDoubleQuotedState(): mixed

attributeValueSingleQuotedState

private attributeValueSingleQuotedState(): mixed

attributeValueUnquotedState

private attributeValueUnquotedState(): mixed

entityInAttributeValueState

private entityInAttributeValueState(): mixed

bogusCommentState

private bogusCommentState(): mixed

markupDeclarationOpenState

private markupDeclarationOpenState(): mixed

commentState

private commentState(): mixed

commentDashState

private commentDashState(): mixed

commentEndState

private commentEndState(): mixed

doctypeState

private doctypeState(): mixed

beforeDoctypeNameState

private beforeDoctypeNameState(): mixed

doctypeNameState

private doctypeNameState(): mixed

afterDoctypeNameState

private afterDoctypeNameState(): mixed

bogusDoctypeState

private bogusDoctypeState(): mixed

entity

private entity(): mixed

emitToken

private emitToken(mixed $token): mixed

Parameters:

Parameter Type Description
$token mixed

EOF

private EOF(): mixed


Automatically generated on 2025-03-18