Class

eZ\Publish\Core\FieldType\RichText\Converter\Ezxml\ToRichTextPreNormalize

class ToRichTextPreNormalize implements Converter

Expands paragraphs and links embeds of a XML document in legacy ezxml format.

Relies on XmlText's Expanding and EmbedLinking converters implementation.

Methods

__construct(Expanding $expandingConverter, EmbedLinking $embedLinkingConverter)

Construct from XmlText converters implementation.

DOMDocument convert(DOMDocument $document)

Converts given $document into another \DOMDocument object.

Details

at line 39
public __construct(Expanding $expandingConverter, EmbedLinking $embedLinkingConverter)

Construct from XmlText converters implementation.

Parameters

Expanding $expandingConverter
EmbedLinking $embedLinkingConverter

at line 52
public DOMDocument convert(DOMDocument $document)

Converts given $document into another \DOMDocument object.

Parameters

DOMDocument $document

Return Value

DOMDocument