ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Comment.php
Go to the documentation of this file.
1
<?php
2
6
class
HTMLPurifier_Node_Comment
extends
HTMLPurifier_Node
7
{
12
public
$data
;
13
17
public
$is_whitespace
=
true
;
18
26
public
function
__construct
(
$data
,
$line
= null,
$col
= null)
27
{
28
$this->
data
=
$data
;
29
$this->line =
$line
;
30
$this->col =
$col
;
31
}
32
33
public
function
toTokenPair
() {
34
return
array
(
new
HTMLPurifier_Token_Comment
($this->
data
, $this->line, $this->col), null);
35
}
36
}
data
Add some data
Definition:
01pharSimple.php:56
HTMLPurifier_Node_Comment
Concrete comment node class.
Definition:
Comment.php:6
HTMLPurifier_Node_Comment\__construct
__construct($data, $line=null, $col=null)
Transparent constructor.
Definition:
Comment.php:26
HTMLPurifier_Node
Abstract base node class that all others inherit from.
Definition:
Node.php:11
HTMLPurifier_Node_Comment\toTokenPair
toTokenPair()
Definition:
Comment.php:33
HTMLPurifier_Node_Comment\$data
$data
Character data within comment.
Definition:
Comment.php:12
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
HTMLPurifier_Node\$line
$line
Line number of the start token in the source document int.
Definition:
Node.php:17
HTMLPurifier_Node\$col
$col
Column number of the start token in the source document.
Definition:
Node.php:23
HTMLPurifier_Token_Comment
Concrete comment token class.
Definition:
Comment.php:6
HTMLPurifier_Node_Comment\$is_whitespace
$is_whitespace
bool
Definition:
Comment.php:17
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
Node
Comment.php
Generated on Sat Jan 18 2025 19:01:02 for ILIAS by
1.8.13 (using
Doxyfile
)