Class HTMLPurifier_Token_Text

Description

Concrete text token class.

Concrete text token class. Text tokens comprise of regular parsed character data (PCDATA) and raw character data (from the CDATA sections). Internally, their data is parsed with all entities expanded. Surprisingly, the text token does have a "tag name" called #PCDATA, which is how the DTD represents it in permissible child nodes.

Located in /library/HTMLPurifier/Token/Text.php (line 12)

HTMLPurifier_Token
   |
   --HTMLPurifier_Token_Text
Variable Summary
mixed $data
mixed $name
Method Summary
HTMLPurifier_Token_Text __construct ($data $data, [ $line = null])
Variables
mixed $data (line 16)

< PCDATA tag name compatible with DTD.

< PCDATA tag name compatible with DTD.

  • access: public
mixed $is_whitespace (line 17)

< Parsed character data of text.

< Parsed character data of text.

  • access: public
mixed $name = '#PCDATA' (line 15)
  • access: public

Inherited Variables

Inherited from HTMLPurifier_Token

HTMLPurifier_Token::$armor
HTMLPurifier_Token::$line
Methods
Constructor __construct (line 24)

Constructor, accepts data and determines if it is whitespace.

Constructor, accepts data and determines if it is whitespace.

  • access: public
HTMLPurifier_Token_Text __construct ($data $data, [ $line = null])
  • $data $data: String parsed character data.
  • $line

Inherited Methods

Inherited From HTMLPurifier_Token

HTMLPurifier_Token::__get()

Documentation generated on Thu, 19 Jun 2008 18:50:24 -0400 by phpDocumentor 1.4.2