eZPublishCommunityProject  2013.6
eZ\Publish\Core\FieldType\XmlText\Converter Interface Reference

Interface for rich text conversion from internal XML representation to a string to display. More...

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

Public Member Functions

 convert (DOMDocument $xmlDoc)
 Converts $xmlDoc (internal XML representation) to a string. More...
 

Detailed Description

Interface for rich text conversion from internal XML representation to a string to display.

Member Function Documentation

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

Converts $xmlDoc (internal XML representation) to a string.

Returned value can :

  • The rendered string
  • null if a partial work is done on $xmlDoc (useful for pre-conversion).
Parameters
\DOMDocument$xmlDoc
Returns
string|null

Implemented in eZ\Publish\Core\FieldType\XmlText\Converter\EmbedToHtml5, eZ\Publish\Core\FieldType\XmlText\Converter\Html5, and eZ\Publish\Core\FieldType\XmlText\Converter\EzLinkToHtml5.


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