PHP Class eZ\Publish\Core\FieldType\RichText\ConverterDispatcher

Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство Type Description
$mapping eZ\Publish\Core\FieldType\RichText\Converter[] Mapping of namespaces to converters.

Méthodes publiques

Méthode Description
__construct ( eZ\Publish\Core\FieldType\RichText\Converter[] $converterMap )
addConverter ( string $namespace, Converter $converter = null ) Adds converter mapping.
dispatch ( DOMDocument $document ) : DOMDocument Dispatches DOMDocument to the namespace mapped converter.

Method Details

__construct() public méthode

public __construct ( eZ\Publish\Core\FieldType\RichText\Converter[] $converterMap )
$converterMap eZ\Publish\Core\FieldType\RichText\Converter[]

addConverter() public méthode

Adds converter mapping.
public addConverter ( string $namespace, Converter $converter = null )
$namespace string
$converter Converter

dispatch() public méthode

Dispatches DOMDocument to the namespace mapped converter.
public dispatch ( DOMDocument $document ) : DOMDocument
$document DOMDocument
Résultat DOMDocument

Property Details

$mapping protected_oe property

Mapping of namespaces to converters.
protected Converter[],eZ\Publish\Core\FieldType\RichText $mapping
Résultat eZ\Publish\Core\FieldType\RichText\Converter[]