CoolCMS API

ParameterGroupTextInterface extends 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
getName()  : string
getSearchformLabel()  : string|null
isActiveTranslation()  : bool
setActiveTranslation()  : self
setLanguageId()  : self
setName()  : self
setParent()  : static
setSearchformLabel()  : self

Methods

setActiveTranslation()

public setActiveTranslation(bool $activeTranslation) : self
Parameters
$activeTranslation : bool
Return values
self

setSearchformLabel()

public setSearchformLabel(string|null $searchformLabel) : self
Parameters
$searchformLabel : string|null
Return values
self
On this page

Search results