XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTML5 Class Reference

Public Member Functions

 __construct ($data)
 
 save ()
 

Public Attributes

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

Private Member Functions

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

Private Attributes

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

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().

Here is the call graph for this function:

Member Function Documentation

HTML5::afterAttributeNameState ( )
private

Definition at line 584 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::afterDoctypeNameState ( )
private

Definition at line 1027 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::attributeNameState ( )
private

Definition at line 533 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::attributeValueDoubleQuotedState ( )
private

Definition at line 686 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::attributeValueSingleQuotedState ( )
private

Definition at line 721 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::attributeValueUnquotedState ( )
private

Definition at line 756 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::beforeAttributeNameState ( )
private

Definition at line 484 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::beforeAttributeValueState ( )
private

Definition at line 638 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::beforeDoctypeNameState ( )
private

Definition at line 951 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::bogusCommentState ( )
private

Definition at line 807 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::bogusDoctypeState ( )
private

Definition at line 1050 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::char ( )
private

Definition at line 146 of file PH5P.php.

References $char, and EOF().

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

Here is the call graph for this function:

Here is the caller graph for this function:

HTML5::character (   $s,
  $l = 0 
)
private
HTML5::characters (   $char_class,
  $start 
)
private

Definition at line 162 of file PH5P.php.

References $start.

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

Here is the caller graph for this function:

HTML5::closeTagOpenState ( )
private

Definition at line 367 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::commentDashState ( )
private

Definition at line 887 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::commentEndState ( )
private

Definition at line 914 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::commentState ( )
private

Definition at line 861 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::dataState ( )
private

Definition at line 166 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::doctypeNameState ( )
private

Definition at line 998 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::doctypeState ( )
private

Definition at line 937 of file PH5P.php.

References $char, and char().

Here is the call graph for this function:

HTML5::entity ( )
private

Definition at line 1069 of file PH5P.php.

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

Referenced by entityDataState(), and entityInAttributeValueState().

Here is the call graph for this function:

Here is the caller graph for this function:

HTML5::entityDataState ( )
private

Definition at line 266 of file PH5P.php.

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

Here is the call graph for this function:

HTML5::entityInAttributeValueState ( )
private

Definition at line 792 of file PH5P.php.

References $char, and entity().

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

Here is the call graph for this function:

Here is the caller graph for this function:

HTML5::markupDeclarationOpenState ( )
private

Definition at line 833 of file PH5P.php.

References character().

Here is the call graph for this function:

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().

Here is the call graph for this function:

HTML5::tagOpenState ( )
private

Definition at line 282 of file PH5P.php.

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

Here is the call graph for this function:

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 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: