AnewtXHTMLFragment Class Reference

XHTML fragment class use to hold zero or more XHTML elements. More...

List of all members.

Public Member Functions

 render ()
 Render this fragment into a string.


Detailed Description

XHTML fragment class use to hold zero or more XHTML elements.

This class is useful to group XHTML elements into one entity. It is basically a list that can be inserted into a DOM tree.

See also:
AnewtXMLDomDocumentFragment

Definition at line 22 of file xhtml/base.lib.php.


Member Function Documentation

AnewtXHTMLFragment::render (  ) 

Render this fragment into a string.

This method renders all children and concenates those strings into one single value. Usually XHTML fragments are not rendered directly, but added to a DOM tree instead. When that happens, all child nodes of the fragment are added to the DOM tree, and the document fragment instance itself is no longer of any use. This means that this method is not invoked if document fragments are used in combination with a proper DOM document (e.g. as used by AnewtPage).

Returns:
Rendered XML output or an empty string if the fragment was empty.

Definition at line 38 of file xhtml/base.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