eZPublishCommunityProject  2012.12
eZ\Publish\Core\FieldType\XmlText\Converter\Html5 Class Reference

Converts internal XmlText representation to HTML5. More...

+ Inheritance diagram for eZ\Publish\Core\FieldType\XmlText\Converter\Html5:
+ Collaboration diagram for eZ\Publish\Core\FieldType\XmlText\Converter\Html5:

Public Member Functions

 __construct ($stylesheet, array $preConverters=array())
 Constructor. More...
 
 convert (DOMDocument $xmlDoc)
 Convert $xmlDoc from internal representation DOMDocument to HTML5. More...
 

Protected Attributes

 $preConverters
 
 $stylesheet
 

Detailed Description

Converts internal XmlText representation to HTML5.

Constructor & Destructor Documentation

eZ\Publish\Core\FieldType\XmlText\Converter\Html5::__construct (   $stylesheet,
array  $preConverters = array() 
)

Constructor.

Parameters
string$stylesheetStylesheet to use for conversion
\eZ\Publish\Core\FieldType\XmlText\Converter\Output[]$preConverters Array of pre-converters
Exceptions
\eZ\Publish\Core\Base\Exceptions\InvalidArgumentType

Member Function Documentation

eZ\Publish\Core\FieldType\XmlText\Converter\Html5::convert ( DOMDocument  $xmlDoc)

Convert $xmlDoc from internal representation DOMDocument to HTML5.

Parameters
\DOMDocument$xmlDoc
Returns
string

Implements eZ\Publish\Core\FieldType\XmlText\Converter.

Member Data Documentation

eZ\Publish\Core\FieldType\XmlText\Converter\Html5::$preConverters
protected
eZ\Publish\Core\FieldType\XmlText\Converter\Html5::$stylesheet
protected

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