AnewtXMLDomComment class

Comment DOM node.

Class Overview

Comment DOM node.

Public Methods

__construct($data)

Create a new AnewtXMLDomComment instance.

Parameters

$data

The text for this comment.

render()

Render comment into HTML.

This escapes invalid content so that the result is always a valid XHTML snippet.

Public Attributes

$node_name

The name of this node, depending on its type.

Inheritance

Base Classes

Inherited members