Class HTMLPurifier_Node_Comment

InheritanceHTMLPurifier_Node_Comment » HTMLPurifier_Node

Concrete comment node class.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$armor Lookup array of processing that this token is exempt from. HTMLPurifier_Node
$col Column number of the start token in the source document. Null if unknown. HTMLPurifier_Node
$data Character data within comment. HTMLPurifier_Node_Comment
$dead When true, this node should be ignored as non-existent. HTMLPurifier_Node
$is_whitespace HTMLPurifier_Node_Comment
$line Line number of the start token in the source document HTMLPurifier_Node

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Transparent constructor. HTMLPurifier_Node_Comment
toTokenPair() HTMLPurifier_Node_Comment

Property Details

$data public property
public $data null
$is_whitespace public property
public $is_whitespace true

Method Details

__construct() public method

Transparent constructor.

public void __construct ( $data, $line null, $col null )
$data string

String comment data.

$line int
$col int
toTokenPair() public method

public void toTokenPair ( )