Translate
Table of Contents
Interfaces
- TranslateStrategyInterface
- This interface describes the methods for translate behavior strategies.
Classes
- EavStrategy
- This class provides a way to translate dynamic data by keeping translations
in a separate table linked to the original record from another one. Translated
fields can be configured to override those in the main table when fetched or
put aside into another property for the same entity.
- ShadowTableStrategy
- This class provides a way to translate dynamic data by keeping translations
in a separate shadow table where each row corresponds to a row of primary table.
Traits
- TranslateStrategyTrait
- Contains common code needed by TranslateBehavior strategy classes.
- TranslateTrait
- Contains a translation method aimed to help managing multiple translations
for an entity.