Öffentliche Methoden | |
__construct ($data, $is_whitespace, $line=null, $col=null) | |
toTokenPair () | |
![]() | |
toTokenPair () | |
Datenfelder | |
$name = '#PCDATA' | |
$data | |
$is_whitespace | |
![]() | |
$line | |
$col | |
$armor = array() | |
$dead = false | |
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, | |
$is_whitespace, | |||
$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 41 der Datei Text.php.
Benutzt HTMLPurifier_Node\$col, $data, $is_whitespace und HTMLPurifier_Node\$line.
$data |
stringParsed character data of text.
Definiert in Zeile 25 der Datei Text.php.
Wird benutzt von __construct().
$is_whitespace |
boolBool indicating if node is whitespace.
Definiert in Zeile 31 der Datei Text.php.
Wird benutzt von __construct().
$name = '#PCDATA' |
PCDATA tag name compatible with DTD, see HTMLPurifier_ChildDef_Custom for details. string