Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | List of all members
eZ\Publish\Core\FieldType\RichText\Normalizer Class Reference

Abstract class for XML normalization of string input. More...

Inheritance diagram for eZ\Publish\Core\FieldType\RichText\Normalizer:

## Public Member Functions
| accept ($input)
| Check if normalizer accepts given $input for normalization. More...
| normalize ($input)
| Normalizes given $input and returns the result. More...

## Detailed Description

Abstract class for XML normalization of string input.

Deprecated:
  since 7.4, use \EzSystems\EzPlatformRichText\eZ\RichText\Normalizer from EzPlatformRichTextBundle.

Definition at line 14 of file Normalizer.php.

## Member Function Documentation

## ◆ accept()

eZ\Publish\Core\FieldType\RichText\Normalizer::accept | ( |  | $input | ) |
| abstract

Check if normalizer accepts given $input for normalization.

Parameters

  string | $input |

Returns
  bool

Reimplemented in eZ\Publish\Core\FieldType\RichText\Normalizer\DocumentTypeDefinition, and eZ\Publish\Core\FieldType\RichText\Normalizer\Aggregate.

## ◆ normalize()

eZ\Publish\Core\FieldType\RichText\Normalizer::normalize | ( |  | $input | ) |
| abstract

Normalizes given $input and returns the result.

Parameters

  string | $input |

Returns
  string

Reimplemented in eZ\Publish\Core\FieldType\RichText\Normalizer\DocumentTypeDefinition, and eZ\Publish\Core\FieldType\RichText\Normalizer\Aggregate.

The documentation for this class was generated from the following file:

- Normalizer.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.