Class

eZ\Publish\Core\MVC\Symfony\Templating\Twig\Extension\RichTextExtension

class RichTextExtension extends Twig_Extension

Methods

__construct(Converter $richTextConverter, Converter $richTextEditConverter)

getName()

getFilters()

string richTextToHtml5(DOMDocument $xmlData)

Implements the "richtexttohtml5" filter.

string richTextToHtml5Edit(DOMDocument $xmlData)

Implements the "richtexttohtml5_edit" filter.

Details

at line 27
public __construct(Converter $richTextConverter, Converter $richTextEditConverter)

Parameters

Converter $richTextConverter
Converter $richTextEditConverter

at line 33
public getName()

at line 38
public getFilters()

at line 61
public string richTextToHtml5(DOMDocument $xmlData)

Implements the "richtexttohtml5" filter.

Parameters

DOMDocument $xmlData

Return Value

string

at line 73
public string richTextToHtml5Edit(DOMDocument $xmlData)

Implements the "richtexttohtml5_edit" filter.

Parameters

DOMDocument $xmlData

Return Value

string