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

Inheritance: extends eZ\Publish\Core\FieldType\RichText\Normalizer
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$normalizers eZ\Publish\Core\FieldType\RichText\Normalizer[] An array of normalizers, sorted by priority.

Public Methods

Method 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 method

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

accept() public method

This implementation always returns true.
public accept ( string $input ) : boolean
$input string
return boolean

normalize() public method

Normalizes given $input by calling aggregated normalizers.
public normalize ( string $input ) : string
$input string
return string

Property Details

$normalizers protected_oe property

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