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, and EOF().


Member Function Documentation

HTML5::save (  ) 

Definition at line 144 of file PH5P.php.

HTML5::char (  )  [private]

Definition at line 148 of file PH5P.php.

References EOF().

Referenced by afterDoctypeNameState(), beforeDoctypeNameState(), bogusDoctypeState(), closeTagOpenState(), commentDashState(), commentEndState(), commentState(), dataState(), doctypeNameState(), doctypeState(), entity(), and tagOpenState().

HTML5::character ( s,
l = 0 
) [private]

Definition at line 154 of file PH5P.php.

References EOF().

Referenced by afterAttributeNameState(), attributeNameState(), attributeValueDoubleQuotedState(), attributeValueSingleQuotedState(), attributeValueUnquotedState(), beforeAttributeNameState(), beforeAttributeValueState(), closeTagOpenState(), dataState(), entity(), markupDeclarationOpenState(), tagNameState(), and tagOpenState().

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

Definition at line 164 of file PH5P.php.

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

HTML5::dataState (  )  [private]

Definition at line 168 of file PH5P.php.

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

HTML5::entityDataState (  )  [private]

Definition at line 268 of file PH5P.php.

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

HTML5::tagOpenState (  )  [private]

Definition at line 284 of file PH5P.php.

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

HTML5::closeTagOpenState (  )  [private]

Definition at line 369 of file PH5P.php.

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

HTML5::tagNameState (  )  [private]

Definition at line 442 of file PH5P.php.

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

HTML5::beforeAttributeNameState (  )  [private]

Definition at line 486 of file PH5P.php.

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

HTML5::attributeNameState (  )  [private]

Definition at line 535 of file PH5P.php.

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

HTML5::afterAttributeNameState (  )  [private]

Definition at line 586 of file PH5P.php.

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

HTML5::beforeAttributeValueState (  )  [private]

Definition at line 640 of file PH5P.php.

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

HTML5::attributeValueDoubleQuotedState (  )  [private]

Definition at line 688 of file PH5P.php.

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

HTML5::attributeValueSingleQuotedState (  )  [private]

Definition at line 723 of file PH5P.php.

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

HTML5::attributeValueUnquotedState (  )  [private]

Definition at line 758 of file PH5P.php.

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

HTML5::entityInAttributeValueState (  )  [private]

Definition at line 794 of file PH5P.php.

References $char, and entity().

Referenced by attributeValueDoubleQuotedState(), attributeValueSingleQuotedState(), and attributeValueUnquotedState().

HTML5::bogusCommentState (  )  [private]

Definition at line 809 of file PH5P.php.

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

HTML5::markupDeclarationOpenState (  )  [private]

Definition at line 835 of file PH5P.php.

References character().

HTML5::commentState (  )  [private]

Definition at line 863 of file PH5P.php.

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

HTML5::commentDashState (  )  [private]

Definition at line 889 of file PH5P.php.

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

HTML5::commentEndState (  )  [private]

Definition at line 916 of file PH5P.php.

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

HTML5::doctypeState (  )  [private]

Definition at line 939 of file PH5P.php.

References $char, char(), and n.

HTML5::beforeDoctypeNameState (  )  [private]

Definition at line 953 of file PH5P.php.

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

HTML5::doctypeNameState (  )  [private]

Definition at line 1000 of file PH5P.php.

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

HTML5::afterDoctypeNameState (  )  [private]

Definition at line 1029 of file PH5P.php.

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

HTML5::bogusDoctypeState (  )  [private]

Definition at line 1052 of file PH5P.php.

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

HTML5::entity (  )  [private]

Definition at line 1071 of file PH5P.php.

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

Referenced by entityDataState(), and entityInAttributeValueState().

HTML5::emitToken ( token  )  [private]

Definition at line 1161 of file PH5P.php.

References $token.

Referenced by afterAttributeNameState(), afterDoctypeNameState(), attributeNameState(), attributeValueDoubleQuotedState(), attributeValueSingleQuotedState(), attributeValueUnquotedState(), beforeAttributeNameState(), beforeAttributeValueState(), beforeDoctypeNameState(), bogusCommentState(), bogusDoctypeState(), closeTagOpenState(), commentDashState(), commentEndState(), commentState(), dataState(), doctypeNameState(), entityDataState(), tagNameState(), and tagOpenState().

HTML5::EOF (  )  [private]

Definition at line 1172 of file PH5P.php.

Referenced by __construct(), afterAttributeNameState(), afterDoctypeNameState(), attributeNameState(), attributeValueDoubleQuotedState(), attributeValueSingleQuotedState(), beforeAttributeNameState(), beforeDoctypeNameState(), bogusCommentState(), bogusDoctypeState(), char(), character(), closeTagOpenState(), commentDashState(), commentEndState(), commentState(), dataState(), doctypeNameState(), HTML5TreeConstructer::initPhase(), HTML5TreeConstructer::mainPhase(), HTML5TreeConstructer::rootElementPhase(), tagNameState(), and HTML5TreeConstructer::trailingEndPhase().


Member Data Documentation

HTML5::$data [private]

Definition at line 64 of file PH5P.php.

Referenced by __construct(), and bogusCommentState().

HTML5::$char [private]

Definition at line 65 of file PH5P.php.

Referenced by afterAttributeNameState(), afterDoctypeNameState(), attributeNameState(), attributeValueDoubleQuotedState(), attributeValueSingleQuotedState(), attributeValueUnquotedState(), beforeAttributeNameState(), beforeAttributeValueState(), beforeDoctypeNameState(), bogusDoctypeState(), closeTagOpenState(), commentDashState(), commentEndState(), commentState(), dataState(), doctypeNameState(), doctypeState(), entity(), entityDataState(), entityInAttributeValueState(), tagNameState(), and tagOpenState().

HTML5::$EOF [private]

Definition at line 66 of file PH5P.php.

HTML5::$state [private]

Definition at line 67 of file PH5P.php.

HTML5::$tree [private]

Definition at line 68 of file PH5P.php.

HTML5::$token [private]

Definition at line 69 of file PH5P.php.

Referenced by emitToken().

HTML5::$content_model [private]

Definition at line 70 of file PH5P.php.

HTML5::$escape = false [private]

Definition at line 71 of file PH5P.php.

HTML5::$entities [private]

Definition at line 72 of file PH5P.php.

const HTML5::PCDATA = 0

Definition at line 115 of file PH5P.php.

Referenced by HTML5TreeConstructer::inHead().

const HTML5::RCDATA = 1

Definition at line 116 of file PH5P.php.

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

const HTML5::CDATA = 2

Definition at line 117 of file PH5P.php.

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

const HTML5::PLAINTEXT = 3

Definition at line 118 of file PH5P.php.

Referenced by HTML5TreeConstructer::inBody().

const HTML5::DOCTYPE = 0

Definition at line 120 of file PH5P.php.

Referenced by HTML5TreeConstructer::mainPhase(), HTML5TreeConstructer::rootElementPhase(), and HTML5TreeConstructer::trailingEndPhase().

const HTML5::STARTTAG = 1

Definition at line 121 of file PH5P.php.

Referenced by HTML5TreeConstructer::afterFrameset(), HTML5TreeConstructer::afterHead(), HTML5TreeConstructer::beforeHead(), HTML5TreeConstructer::inBody(), HTML5TreeConstructer::inCaption(), HTML5TreeConstructer::inCell(), HTML5TreeConstructer::inColumnGroup(), HTML5TreeConstructer::inFrameset(), HTML5TreeConstructer::inHead(), HTML5TreeConstructer::initPhase(), HTML5TreeConstructer::inRow(), HTML5TreeConstructer::inSelect(), HTML5TreeConstructer::inTable(), HTML5TreeConstructer::inTableBody(), HTML5TreeConstructer::mainPhase(), HTML5TreeConstructer::rootElementPhase(), and HTML5TreeConstructer::trailingEndPhase().

const HTML5::ENDTAG = 2

Definition at line 122 of file PH5P.php.

Referenced by HTML5TreeConstructer::afterBody(), HTML5TreeConstructer::afterFrameset(), HTML5TreeConstructer::beforeHead(), HTML5TreeConstructer::closeCell(), HTML5TreeConstructer::inBody(), HTML5TreeConstructer::inCaption(), HTML5TreeConstructer::inCell(), HTML5TreeConstructer::inColumnGroup(), HTML5TreeConstructer::inFrameset(), HTML5TreeConstructer::inHead(), HTML5TreeConstructer::initPhase(), HTML5TreeConstructer::inRow(), HTML5TreeConstructer::inSelect(), HTML5TreeConstructer::inTable(), HTML5TreeConstructer::inTableBody(), HTML5TreeConstructer::rootElementPhase(), and HTML5TreeConstructer::trailingEndPhase().

const HTML5::COMMENT = 3

Definition at line 123 of file PH5P.php.

Referenced by HTML5TreeConstructer::afterBody(), HTML5TreeConstructer::afterFrameset(), HTML5TreeConstructer::afterHead(), HTML5TreeConstructer::beforeHead(), HTML5TreeConstructer::inBody(), HTML5TreeConstructer::inColumnGroup(), HTML5TreeConstructer::inFrameset(), HTML5TreeConstructer::inHead(), HTML5TreeConstructer::initPhase(), HTML5TreeConstructer::inSelect(), HTML5TreeConstructer::inTable(), HTML5TreeConstructer::rootElementPhase(), and HTML5TreeConstructer::trailingEndPhase().

const HTML5::CHARACTR = 4

Definition at line 124 of file PH5P.php.

Referenced by HTML5TreeConstructer::afterBody(), HTML5TreeConstructer::afterFrameset(), HTML5TreeConstructer::afterHead(), HTML5TreeConstructer::beforeHead(), HTML5TreeConstructer::inBody(), HTML5TreeConstructer::inColumnGroup(), HTML5TreeConstructer::inFrameset(), HTML5TreeConstructer::inHead(), HTML5TreeConstructer::initPhase(), HTML5TreeConstructer::inSelect(), HTML5TreeConstructer::inTable(), HTML5TreeConstructer::rootElementPhase(), and HTML5TreeConstructer::trailingEndPhase().

const HTML5::EOF = 5

Definition at line 125 of file PH5P.php.


The documentation for this class was generated from the following file:
Generated on Thu Jun 19 18:47:28 2008 for HTMLPurifier by  doxygen 1.5.3