HTMLPurifier 4.4.0
/home/ezyang/Dev/htmlpurifier/library/HTMLPurifier/Token/Text.php
Go to the documentation of this file.
00001 <?php
00002 
00012 class HTMLPurifier_Token_Text extends HTMLPurifier_Token
00013 {
00014 
00015     public $name = '#PCDATA'; 
00016     public $data; 
00017     public $is_whitespace; 
00024     public function __construct($data, $line = null, $col = null) {
00025         $this->data = $data;
00026         $this->is_whitespace = ctype_space($data);
00027         $this->line = $line;
00028         $this->col  = $col;
00029     }
00030 
00031 }
00032 
00033 // vim: et sw=4 sts=4