AnewtXMLDomComment Class Reference

Comment DOM node. More...

List of all members.

Public Member Functions

 __construct ($data)
 Create a new AnewtXMLDomComment instance.
 render ()
 Render comment into HTML.

Public Attributes

 $node_type = ANEWT_XML_DOM_COMMENT_NODE
 The node type.
 $node_name = '#comment'
 The name of this node, depending on its type.


Detailed Description

Comment DOM node.

Definition at line 1260 of file dom.lib.php.


Constructor & Destructor Documentation

AnewtXMLDomComment::__construct ( data  ) 

Create a new AnewtXMLDomComment instance.

Parameters:
$data The text for this comment.

Definition at line 1271 of file dom.lib.php.


Member Function Documentation

AnewtXMLDomComment::render (  ) 

Render comment into HTML.

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

Definition at line 1283 of file dom.lib.php.


Member Data Documentation

AnewtXMLDomComment::$node_type = ANEWT_XML_DOM_COMMENT_NODE

The node type.

See also:
http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1060184317

Reimplemented from AnewtXMLDomNode.

Definition at line 1262 of file dom.lib.php.

AnewtXMLDomComment::$node_name = '#comment'

The name of this node, depending on its type.

See also:
http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-F68D095

Reimplemented from AnewtXMLDomNode.

Definition at line 1263 of file dom.lib.php.


The documentation for this class was generated from the following file:

Generated on Sun Aug 2 22:54:38 2009 for Anewt by  doxygen 1.5.9