HTMLPurifier 4.4.0
HTML5 Class Reference

List of all members.

Public Member Functions

 __construct ($data)
 save ()

Public Attributes

const PCDATA = 0
const RCDATA = 1
const CDATA = 2
const PLAINTEXT = 3
const DOCTYPE = 0
const STARTTAG = 1
const ENDTAG = 2
const COMMENT = 3
const CHARACTR = 4
const EOF = 5

Private Member Functions

 char ()
 character ($s, $l=0)
 characters ($char_class, $start)
 dataState ()
 entityDataState ()
 tagOpenState ()
 closeTagOpenState ()
 tagNameState ()
 beforeAttributeNameState ()
 attributeNameState ()
 afterAttributeNameState ()
 beforeAttributeValueState ()
 attributeValueDoubleQuotedState ()
 attributeValueSingleQuotedState ()
 attributeValueUnquotedState ()
 entityInAttributeValueState ()
 bogusCommentState ()
 markupDeclarationOpenState ()
 commentState ()
 commentDashState ()
 commentEndState ()
 doctypeState ()
 beforeDoctypeNameState ()
 doctypeNameState ()
 afterDoctypeNameState ()
 bogusDoctypeState ()
 entity ()
 emitToken ($token)
 EOF ()

Private Attributes

 $data
 $char
 $EOF
 $state
 $tree
 $token
 $content_model
 $escape = false
 $entities

Detailed Description

Definition at line 63 of file PH5P.php.


Constructor & Destructor Documentation

HTML5::__construct ( data)

Definition at line 127 of file PH5P.php.

References $data, EOF(), and PCDATA.


Member Function Documentation

HTML5::afterAttributeNameState ( ) [private]

Definition at line 584 of file PH5P.php.

References $char, character(), emitToken(), and EOF().

HTML5::afterDoctypeNameState ( ) [private]

Definition at line 1027 of file PH5P.php.

References $char, char(), emitToken(), and EOF().

HTML5::attributeNameState ( ) [private]

Definition at line 533 of file PH5P.php.

References $char, character(), emitToken(), and EOF().

HTML5::attributeValueDoubleQuotedState ( ) [private]

Definition at line 686 of file PH5P.php.

References $char, character(), emitToken(), entityInAttributeValueState(), and EOF().

HTML5::attributeValueSingleQuotedState ( ) [private]

Definition at line 721 of file PH5P.php.

References $char, character(), emitToken(), entityInAttributeValueState(), and EOF().

HTML5::attributeValueUnquotedState ( ) [private]

Definition at line 756 of file PH5P.php.

References $char, character(), emitToken(), and entityInAttributeValueState().

HTML5::beforeAttributeNameState ( ) [private]

Definition at line 484 of file PH5P.php.

References $char, character(), emitToken(), and EOF().

HTML5::beforeAttributeValueState ( ) [private]

Definition at line 638 of file PH5P.php.

References $char, character(), and emitToken().

HTML5::beforeDoctypeNameState ( ) [private]

Definition at line 951 of file PH5P.php.

References $char, char(), emitToken(), and EOF().

HTML5::bogusCommentState ( ) [private]

Definition at line 807 of file PH5P.php.

References $data, characters(), emitToken(), and EOF().

HTML5::bogusDoctypeState ( ) [private]

Definition at line 1050 of file PH5P.php.

References $char, char(), emitToken(), and EOF().

HTML5::characters ( char_class,
start 
) [private]

Definition at line 162 of file PH5P.php.

Referenced by bogusCommentState(), closeTagOpenState(), and entity().

HTML5::closeTagOpenState ( ) [private]

Definition at line 367 of file PH5P.php.

References $char, char(), character(), characters(), emitToken(), and EOF().

HTML5::commentDashState ( ) [private]

Definition at line 887 of file PH5P.php.

References $char, char(), emitToken(), and EOF().

HTML5::commentEndState ( ) [private]

Definition at line 914 of file PH5P.php.

References $char, char(), emitToken(), and EOF().

HTML5::commentState ( ) [private]

Definition at line 861 of file PH5P.php.

References $char, char(), emitToken(), and EOF().

HTML5::dataState ( ) [private]

Definition at line 166 of file PH5P.php.

References $char, char(), character(), emitToken(), and EOF().

HTML5::doctypeNameState ( ) [private]

Definition at line 998 of file PH5P.php.

References $char, char(), emitToken(), and EOF().

HTML5::doctypeState ( ) [private]

Definition at line 937 of file PH5P.php.

References $char, and char().

HTML5::entity ( ) [private]

Definition at line 1069 of file PH5P.php.

References $char, char(), character(), and characters().

Referenced by entityDataState(), and entityInAttributeValueState().

HTML5::entityDataState ( ) [private]

Definition at line 266 of file PH5P.php.

References $char, emitToken(), and entity().

HTML5::entityInAttributeValueState ( ) [private]
HTML5::markupDeclarationOpenState ( ) [private]

Definition at line 833 of file PH5P.php.

References character().

HTML5::save ( )

Definition at line 142 of file PH5P.php.

HTML5::tagNameState ( ) [private]

Definition at line 440 of file PH5P.php.

References $char, character(), emitToken(), and EOF().

HTML5::tagOpenState ( ) [private]

Definition at line 282 of file PH5P.php.

References $char, char(), character(), and emitToken().


Member Data Documentation

HTML5::$content_model [private]

Definition at line 70 of file PH5P.php.

HTML5::$data [private]

Definition at line 64 of file PH5P.php.

Referenced by __construct(), and bogusCommentState().

HTML5::$entities [private]

Definition at line 72 of file PH5P.php.

HTML5::$EOF [private]

Definition at line 66 of file PH5P.php.

HTML5::$escape = false [private]

Definition at line 71 of file PH5P.php.

HTML5::$state [private]

Definition at line 67 of file PH5P.php.

HTML5::$token [private]

Definition at line 69 of file PH5P.php.

Referenced by emitToken().

HTML5::$tree [private]

Definition at line 68 of file PH5P.php.

const HTML5::CDATA = 2

Definition at line 117 of file PH5P.php.

Referenced by HTML5TreeConstructer::inBody(), and HTML5TreeConstructer::inHead().

const HTML5::EOF = 5

Definition at line 125 of file PH5P.php.

const HTML5::PCDATA = 0

Definition at line 115 of file PH5P.php.

Referenced by __construct(), emitToken(), and HTML5TreeConstructer::inHead().

const HTML5::PLAINTEXT = 3

Definition at line 118 of file PH5P.php.

Referenced by HTML5TreeConstructer::inBody().

const HTML5::RCDATA = 1

Definition at line 116 of file PH5P.php.

Referenced by HTML5TreeConstructer::inBody(), and HTML5TreeConstructer::inHead().


The documentation for this class was generated from the following file: