CoolCMS API

TranslationInterface

Translation entity (`*Text`): one row of parent texts for one language.

The TTranslation template bound in TranslationCollectionTrait is BaseEntity&TranslationInterface, so getTranslation($langId) knows that a collection element provides getLanguageId() and callers get the concrete text class of the parent.

Table of Contents

Methods

getLanguageId()  : int|null

Methods

On this page

Search results