PHP Class eZ\Publish\Core\FieldType\RichText\Normalizer\Aggregate

Inheritance: extends eZ\Publish\Core\FieldType\RichText\Normalizer
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Protected Properties

Свойство Type Description
$normalizers eZ\Publish\Core\FieldType\RichText\Normalizer[] An array of normalizers, sorted by priority.

Méthodes publiques

Méthode Description
__construct ( array $normalizers = [] )
accept ( string $input ) : boolean Check if normalizer accepts given $input for normalization.
normalize ( string $input ) : string Normalizes given $input by calling aggregated normalizers.

Method Details

__construct() public méthode

public __construct ( array $normalizers = [] )
$normalizers array An array of Normalizers, sorted by priority

accept() public méthode

This implementation always returns true.
public accept ( string $input ) : boolean
$input string
Résultat boolean

normalize() public méthode

Normalizes given $input by calling aggregated normalizers.
public normalize ( string $input ) : string
$input string
Résultat string

Property Details

$normalizers protected_oe property

An array of normalizers, sorted by priority.
protected Normalizer[],eZ\Publish\Core\FieldType\RichText $normalizers
Résultat eZ\Publish\Core\FieldType\RichText\Normalizer[]