PHP Class eZ\Publish\Core\FieldType\RichText\Converter\Render

Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$renderer eZ\Publish\Core\FieldType\RichText\RendererInterface

Public Methods

Method Description
__construct ( eZ\Publish\Core\FieldType\RichText\RendererInterface $renderer )

Protected Methods

Method Description
extractConfiguration ( DOMElement $embed ) : array Extracts configuration hash from embed element.
extractHash ( DOMNode $configHash ) : array Recursively extracts data from XML hash structure.

Method Details

__construct() public method

public __construct ( eZ\Publish\Core\FieldType\RichText\RendererInterface $renderer )
$renderer eZ\Publish\Core\FieldType\RichText\RendererInterface

extractConfiguration() protected method

Extracts configuration hash from embed element.
protected extractConfiguration ( DOMElement $embed ) : array
$embed DOMElement
return array

extractHash() protected method

Recursively extracts data from XML hash structure.
protected extractHash ( DOMNode $configHash ) : array
$configHash DOMNode
return array

Property Details

$renderer protected_oe property

protected RendererInterface,eZ\Publish\Core\FieldType\RichText $renderer
return eZ\Publish\Core\FieldType\RichText\RendererInterface