SnapContentHtml Class Reference
[Content Modules]

HTML Content Module. More...

Inheritance diagram for SnapContentHtml:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 checkMedia ()
 INSERT BRIEF DESCRIPTION HERE.
 setHTML ($html)
 Set the HTML content.
 updateFileList ()
 INSERT BRIEF DESCRIPTION HERE.


Detailed Description

HTML Content Module.

This content module contains simple HTML. It need not be a full HTML document. A valid snippet is fine. The HTML is validated using SXMLHelper::validateXML(), but it is not validated against any schema (so it is only checked for well-formedness).


Member Function Documentation

SnapContentHtml::checkMedia (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

Reimplemented from SnapContent.

SnapContentHtml::setHTML ( html  ) 

Set the HTML content.

If the HTML is invalid, an error is set on this object. You should check the validity of the HTML before putting it into this content module if you want better control over error propagation.

Parameters:
$html [string]: valid HTML string to put into this content module
Returns:
[boolean]: success or failure

SnapContentHtml::updateFileList (  ) 

INSERT BRIEF DESCRIPTION HERE.

INSERT FULL DESCRIPTION HERE

Returns:
[TYPE]: RETURN DESCRIPTION

Reimplemented from SnapContent.


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

Generated on Wed Nov 24 02:03:09 2010 for Common by  doxygen 1.5.6