CoolCMS API

ParameterTextInterface 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

getDescription()  : string|null
getDisplayText()  : string|null
getLabel()  : string|null
getLabel2()  : string|null
getLanguageId()  : int|null
getName()  : string
getNoticeFileType()  : string|null
getNoticeRequired()  : string|null
getNoticeSize()  : string|null
getPlaceholder()  : string|null
getPlaceholder2()  : string|null
getSearchLabel()  : string|null
getSearchLabel2()  : string|null
getSearchPlaceholder()  : string|null
getSearchPlaceholder2()  : string|null
isActiveTranslation()  : bool
setActiveTranslation()  : self
setDescription()  : self
setDisplayText()  : self
setLabel()  : self
setLabel2()  : self
setLanguageId()  : self
setName()  : self
setNoticeFileType()  : self
setNoticeRequired()  : self
setNoticeSize()  : self
setParent()  : static
setPlaceholder()  : self
setPlaceholder2()  : self
setSearchLabel()  : self
setSearchLabel2()  : self
setSearchPlaceholder()  : self
setSearchPlaceholder2()  : self

Methods

setActiveTranslation()

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

setDescription()

public setDescription(string|null $description) : self
Parameters
$description : string|null
Return values
self

setDisplayText()

public setDisplayText(string|null $displayText) : self
Parameters
$displayText : string|null
Return values
self

setLabel()

public setLabel(string|null $label) : self
Parameters
$label : string|null
Return values
self

setLabel2()

public setLabel2(string|null $label2) : self
Parameters
$label2 : string|null
Return values
self

setLanguageId()

public setLanguageId(int $languageId) : self
Parameters
$languageId : int
Return values
self

setNoticeFileType()

public setNoticeFileType(string|null $noticeFileType) : self
Parameters
$noticeFileType : string|null
Return values
self

setNoticeRequired()

public setNoticeRequired(string|null $noticeRequired) : self
Parameters
$noticeRequired : string|null
Return values
self

setNoticeSize()

public setNoticeSize(string|null $noticeSize) : self
Parameters
$noticeSize : string|null
Return values
self

setParent()

public setParent(object|null $parent) : static
Parameters
$parent : object|null
Return values
static

setPlaceholder()

public setPlaceholder(string|null $placeholder) : self
Parameters
$placeholder : string|null
Return values
self

setPlaceholder2()

public setPlaceholder2(string|null $placeholder2) : self
Parameters
$placeholder2 : string|null
Return values
self

setSearchLabel()

public setSearchLabel(string|null $searchLabel) : self
Parameters
$searchLabel : string|null
Return values
self

setSearchLabel2()

public setSearchLabel2(string|null $searchLabel2) : self
Parameters
$searchLabel2 : string|null
Return values
self

setSearchPlaceholder()

public setSearchPlaceholder(string|null $searchPlaceholder) : self
Parameters
$searchPlaceholder : string|null
Return values
self

setSearchPlaceholder2()

public setSearchPlaceholder2(string|null $searchPlaceholder2) : self
Parameters
$searchPlaceholder2 : string|null
Return values
self
On this page

Search results