PHP Класс HTMLPurifier_Token_Text, yii

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.
Наследование: extends HTMLPurifier_Token
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$data
$is_whitespace
$name

Открытые методы

Метод Описание
__construct ( string $data, integer $line = null, integer $col = null ) Constructor, accepts data and determines if it is whitespace.
toNode ( )

Описание методов

__construct() публичный Метод

Constructor, accepts data and determines if it is whitespace.
public __construct ( string $data, integer $line = null, integer $col = null )
$data string String parsed character data.
$line integer
$col integer

toNode() публичный Метод

public toNode ( )

Описание свойств

$data публичное свойство

public $data

$is_whitespace публичное свойство

public $is_whitespace

$name публичное свойство

public $name