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

Inheritance: extends Twig_Extensio\Twig_Extension
显示文件 Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
__construct ( eZ\Publish\Core\FieldType\RichText\Converter $richTextConverter, eZ\Publish\Core\FieldType\RichText\Converter $richTextEditConverter )
getFilters ( )
getName ( )
richTextToHtml5 ( DOMDocument $xmlData ) : string Implements the "richtext_to_html5" filter.
richTextToHtml5Edit ( DOMDocument $xmlData ) : string Implements the "richtext_to_html5_edit" filter.

Method Details

__construct() public method

public __construct ( eZ\Publish\Core\FieldType\RichText\Converter $richTextConverter, eZ\Publish\Core\FieldType\RichText\Converter $richTextEditConverter )
$richTextConverter eZ\Publish\Core\FieldType\RichText\Converter
$richTextEditConverter eZ\Publish\Core\FieldType\RichText\Converter

getFilters() public method

public getFilters ( )

getName() public method

public getName ( )

richTextToHtml5() public method

Implements the "richtext_to_html5" filter.
public richTextToHtml5 ( DOMDocument $xmlData ) : string
$xmlData DOMDocument
return string

richTextToHtml5Edit() public method

Implements the "richtext_to_html5_edit" filter.
public richTextToHtml5Edit ( DOMDocument $xmlData ) : string
$xmlData DOMDocument
return string