ParameterText
extends ParameterText
in package
Tags
Attributes
- #[Entity]
- #[Table]
- $name: 'cms_mod_eshop_parameter_texts'
- #[TableAlias]
- 'parameterText'
Table of Contents
Properties
- $activeTranslation : bool
- $description : string|null
- $displayText : string|null
- $label : string|null
- $label2 : string|null
- $languageId : int|null
- $name : string
- $noticeFileType : string|null
- $noticeRequired : string|null
- $noticeSize : string|null
- $parameter : TParameter
- $parent : mixed
- $placeholder : string|null
- $placeholder2 : string|null
- $searchLabel : string|null
- $searchLabel2 : string|null
- $searchPlaceholder : string|null
- $searchPlaceholder2 : string|null
Methods
- __construct() : mixed
- callInitMethods() : void
- Calls `init{TraitName}()` for every used trait that defines such a method.
- getActiveTranslation() : bool
- getAllTraits() : array<string, string>
- Returns all traits the class uses, including those used by parent classes and nested traits.
- getDescription() : string|null
- getDisplayText() : string|null
- getLabel() : string|null
- getLabel2() : string|null
- getLanguageId() : int|null
- Translation language; null only for a new entity before `setLanguageId()`.
- getName() : string
- getNoticeFileType() : string|null
- getNoticeRequired() : string|null
- getNoticeSize() : string|null
- getParameter() : TParameter|null
- getParent() : object|null
- getPlaceholder() : string|null
- getPlaceholder2() : string|null
- getSearchLabel() : string|null
- getSearchLabel2() : string|null
- getSearchPlaceholder() : string|null
- getSearchPlaceholder2() : string|null
- isActiveTranslation() : bool
- setActiveTranslation() : $this
- setDescription() : $this
- setDisplayText() : $this
- setLabel() : $this
- setLabel2() : $this
- setLanguageId() : $this
- setName() : $this
- setNoticeFileType() : $this
- setNoticeRequired() : $this
- setNoticeSize() : $this
- setParameter() : $this
- setParent() : static
- setPlaceholder() : $this
- setPlaceholder2() : $this
- setSearchLabel() : $this
- setSearchLabel2() : $this
- setSearchPlaceholder() : $this
- setSearchPlaceholder2() : $this
- getTraitsRecursive() : array<string, string>
- Walks the trait list recursively and collects nested traits too.
Properties
$activeTranslation
protected
bool
$activeTranslation
= true
Attributes
- #[Column]
- $name: 'active_translation'
- $type: 'boolean'
$description
protected
string|null
$description
= null
Attributes
- #[Column]
- $name: 'description'
- $type: 'text'
- $nullable: true
$displayText
protected
string|null
$displayText
= null
Attributes
- #[Column]
- $name: 'display_text'
- $type: 'string'
- $length: 255
- $nullable: true
$label
protected
string|null
$label
= null
Attributes
- #[Column]
- $name: 'label'
- $type: 'string'
- $length: 255
- $nullable: true
$label2
protected
string|null
$label2
= null
Attributes
- #[Column]
- $name: 'label2'
- $type: 'string'
- $length: 255
- $nullable: true
$languageId
protected
int|null
$languageId
= null
Attributes
- #[Column]
- $name: 'cms_system_languages_language_id'
- $type: 'integer'
- $options: ['unsigned' => true]
- #[Id]
- #[Identity]
$name
protected
string
$name
= ''
Attributes
- #[Column]
- $name: 'name'
- $type: 'string'
- $length: 255
$noticeFileType
protected
string|null
$noticeFileType
= null
Attributes
- #[Column]
- $name: 'notice_file_type'
- $type: 'string'
- $length: 255
- $nullable: true
$noticeRequired
protected
string|null
$noticeRequired
= null
Attributes
- #[Column]
- $name: 'notice_required'
- $type: 'string'
- $length: 255
- $nullable: true
$noticeSize
protected
string|null
$noticeSize
= null
Attributes
- #[Column]
- $name: 'notice_size'
- $type: 'string'
- $length: 255
- $nullable: true
$parameter
protected
TParameter
$parameter
= null
Attributes
- #[Transient]
$parent
protected
mixed
$parent
= null
Attributes
- #[Id]
- #[JoinColumn]
- $name: 'cms_mod_eshop_parameters_parameter_id'
- $referencedColumnName: 'parameter_id'
- $onDelete: 'CASCADE'
- #[ManyToOne]
- $targetEntity: \App\UI\Api\Eshop\Models\Entities\Parameter::class
- $inversedBy: 'translations'
$placeholder
protected
string|null
$placeholder
= null
Attributes
- #[Column]
- $name: 'placeholder'
- $type: 'string'
- $length: 255
- $nullable: true
$placeholder2
protected
string|null
$placeholder2
= null
Attributes
- #[Column]
- $name: 'placeholder2'
- $type: 'string'
- $length: 255
- $nullable: true
$searchLabel
protected
string|null
$searchLabel
= null
Attributes
- #[Column]
- $name: 'search_label'
- $type: 'string'
- $length: 255
- $nullable: true
$searchLabel2
protected
string|null
$searchLabel2
= null
Attributes
- #[Column]
- $name: 'search_label2'
- $type: 'string'
- $length: 255
- $nullable: true
$searchPlaceholder
protected
string|null
$searchPlaceholder
= null
Attributes
- #[Column]
- $name: 'search_placeholder'
- $type: 'string'
- $length: 255
- $nullable: true
$searchPlaceholder2
protected
string|null
$searchPlaceholder2
= null
Attributes
- #[Column]
- $name: 'search_placeholder2'
- $type: 'string'
- $length: 255
- $nullable: true
Methods
__construct()
public
__construct([int|null $languageId = null ][, mixed $parameter = null ][, string $name = '' ][, string|null $label = null ][, string|null $label2 = null ][, string|null $description = null ][, string|null $noticeRequired = null ][, string|null $noticeFileType = null ][, string|null $noticeSize = null ][, bool $activeTranslation = true ][, string|null $placeholder = null ][, string|null $placeholder2 = null ][, string|null $searchPlaceholder = null ][, string|null $searchPlaceholder2 = null ][, string|null $searchLabel = null ][, string|null $searchLabel2 = null ][, string|null $displayText = null ]) : mixed
Parameters
- $languageId : int|null = null
- $parameter : mixed = null
- $name : string = ''
- $label : string|null = null
- $label2 : string|null = null
- $description : string|null = null
- $noticeRequired : string|null = null
- $noticeFileType : string|null = null
- $noticeSize : string|null = null
- $activeTranslation : bool = true
- $placeholder : string|null = null
- $placeholder2 : string|null = null
- $searchPlaceholder : string|null = null
- $searchPlaceholder2 : string|null = null
- $searchLabel : string|null = null
- $searchLabel2 : string|null = null
- $displayText : string|null = null
callInitMethods()
Calls `init{TraitName}()` for every used trait that defines such a method.
public
callInitMethods() : void
getActiveTranslation()
public
getActiveTranslation() : bool
Return values
boolgetAllTraits()
Returns all traits the class uses, including those used by parent classes and nested traits.
public
getAllTraits() : array<string, string>
Return values
array<string, string>getDescription()
public
getDescription() : string|null
Return values
string|nullgetDisplayText()
public
getDisplayText() : string|null
Return values
string|nullgetLabel()
public
getLabel() : string|null
Return values
string|nullgetLabel2()
public
getLabel2() : string|null
Return values
string|nullgetLanguageId()
Translation language; null only for a new entity before `setLanguageId()`.
public
getLanguageId() : int|null
Return values
int|nullgetName()
public
getName() : string
Return values
stringgetNoticeFileType()
public
getNoticeFileType() : string|null
Return values
string|nullgetNoticeRequired()
public
getNoticeRequired() : string|null
Return values
string|nullgetNoticeSize()
public
getNoticeSize() : string|null
Return values
string|nullgetParameter()
public
getParameter() : TParameter|null
Return values
TParameter|nullgetParent()
public
getParent() : object|null
Return values
object|nullgetPlaceholder()
public
getPlaceholder() : string|null
Return values
string|nullgetPlaceholder2()
public
getPlaceholder2() : string|null
Return values
string|nullgetSearchLabel()
public
getSearchLabel() : string|null
Return values
string|nullgetSearchLabel2()
public
getSearchLabel2() : string|null
Return values
string|nullgetSearchPlaceholder()
public
getSearchPlaceholder() : string|null
Return values
string|nullgetSearchPlaceholder2()
public
getSearchPlaceholder2() : string|null
Return values
string|nullisActiveTranslation()
public
isActiveTranslation() : bool
Return values
boolsetActiveTranslation()
public
setActiveTranslation(bool $activeTranslation) : $this
Parameters
- $activeTranslation : bool
Return values
$thissetDescription()
public
setDescription(string|null $description) : $this
Parameters
- $description : string|null
Return values
$thissetDisplayText()
public
setDisplayText(string|null $displayText) : $this
Parameters
- $displayText : string|null
Return values
$thissetLabel()
public
setLabel(string|null $label) : $this
Parameters
- $label : string|null
Return values
$thissetLabel2()
public
setLabel2(string|null $label2) : $this
Parameters
- $label2 : string|null
Return values
$thissetLanguageId()
public
setLanguageId(int $languageId) : $this
Parameters
- $languageId : int
Return values
$thissetName()
public
setName(string $name) : $this
Parameters
- $name : string
Return values
$thissetNoticeFileType()
public
setNoticeFileType(string|null $noticeFileType) : $this
Parameters
- $noticeFileType : string|null
Return values
$thissetNoticeRequired()
public
setNoticeRequired(string|null $noticeRequired) : $this
Parameters
- $noticeRequired : string|null
Return values
$thissetNoticeSize()
public
setNoticeSize(string|null $noticeSize) : $this
Parameters
- $noticeSize : string|null
Return values
$thissetParameter()
public
setParameter(TParameter $parameter) : $this
Parameters
- $parameter : TParameter
Return values
$thissetParent()
public
setParent(object|null $parent) : static
Parameters
- $parent : object|null
Return values
staticsetPlaceholder()
public
setPlaceholder(string|null $placeholder) : $this
Parameters
- $placeholder : string|null
Return values
$thissetPlaceholder2()
public
setPlaceholder2(string|null $placeholder2) : $this
Parameters
- $placeholder2 : string|null
Return values
$thissetSearchLabel()
public
setSearchLabel(string|null $searchLabel) : $this
Parameters
- $searchLabel : string|null
Return values
$thissetSearchLabel2()
public
setSearchLabel2(string|null $searchLabel2) : $this
Parameters
- $searchLabel2 : string|null
Return values
$thissetSearchPlaceholder()
public
setSearchPlaceholder(string|null $searchPlaceholder) : $this
Parameters
- $searchPlaceholder : string|null
Return values
$thissetSearchPlaceholder2()
public
setSearchPlaceholder2(string|null $searchPlaceholder2) : $this
Parameters
- $searchPlaceholder2 : string|null
Return values
$thisgetTraitsRecursive()
Walks the trait list recursively and collects nested traits too.
private
static getTraitsRecursive(array<string, string> $traits) : array<string, string>
Parameters
- $traits : array<string, string>