Öffentliche Methoden | |
__construct ($data, $line=null, $col=null) | |
toNode () | |
![]() | |
__get ($n) | |
position ($l=null, $c=null) | |
rawPosition ($l, $c) | |
toNode () | |
Datenfelder | |
$name = '#PCDATA' | |
$data | |
$is_whitespace | |
![]() | |
$line | |
$col | |
$armor = array() | |
$skip | |
$rewind | |
$carryover | |
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.
__construct | ( | $data, | |
$line = null , |
|||
$col = null |
|||
) |
Constructor, accepts data and determines if it is whitespace.
string | $data | String parsed character data. |
int | $line | |
int | $col |
Definiert in Zeile 40 der Datei Text.php.
Benutzt HTMLPurifier_Token\$col, $data und HTMLPurifier_Token\$line.
$data |
stringParsed character data of text.
Definiert in Zeile 24 der Datei Text.php.
Wird benutzt von __construct().
$name = '#PCDATA' |