ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Text.php
Go to the documentation of this file.
1
<?php
2
12
class
HTMLPurifier_Token_Text
extends
HTMLPurifier_Token
13
{
14
18
public
$name
=
'#PCDATA'
;
24
public
$data
;
30
public
$is_whitespace
;
31
40
public
function
__construct
(
$data
,
$line
= null,
$col
= null)
41
{
42
$this->data =
$data
;
43
$this->is_whitespace = ctype_space(
$data
);
44
$this->line =
$line
;
45
$this->col =
$col
;
46
}
47
48
public
function
toNode
() {
49
return
new
HTMLPurifier_Node_Text
($this->data, $this->is_whitespace, $this->line, $this->col);
50
}
51
}
52
53
// vim: et sw=4 sts=4
HTMLPurifier_Token_Text\toNode
toNode()
Definition:
Text.php:48
HTMLPurifier_Token_Text\$data
$data
string
Definition:
Text.php:24
HTMLPurifier_Token\$line
$line
Line number node was on in source document.
Definition:
Token.php:12
HTMLPurifier_Token_Text\$name
$name
string
Definition:
Text.php:18
HTMLPurifier_Token_Text\__construct
__construct($data, $line=null, $col=null)
Constructor, accepts data and determines if it is whitespace.
Definition:
Text.php:40
HTMLPurifier_Node_Text
Concrete text token class.
Definition:
Text.php:12
HTMLPurifier_Token
Abstract base token class that all others inherit from.
Definition:
Token.php:6
HTMLPurifier_Token_Text\$is_whitespace
$is_whitespace
bool
Definition:
Text.php:30
HTMLPurifier_Token\$col
$col
Column of line node was on in source document.
Definition:
Token.php:18
HTMLPurifier_Token_Text
Concrete text token class.
Definition:
Text.php:12
Services
Html
HtmlPurifier
library
HTMLPurifier
Token
Text.php
Generated on Mon Apr 7 2025 19:00:51 for ILIAS by
1.8.13 (using
Doxyfile
)