SiteContextCreateStruct
SiteContextCreateStruct.php
:
14
Final
Attributes
- #[RequiredSiteContextAttributeValues]
- #[SiteContextDescriptionsHaveNames]
- #[UniqueSiteContextIdentifier]
Methods¶
__construct()
¶
SiteContextCreateStruct.php
:
24
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
| $logo | string | '' | - |
| $color | string | '' | - |
| $region | string | '' | - |
| $names | array<string, string> | [] | - |
| $descriptions | array<string, string|null> | [] | - |
| $attributeValues | array<string|int, SiteContextAttributeValueStruct> | [] | - |
getAttributeValue()
¶
SiteContextCreateStruct.php
:
170
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
| $languageCode | string|null | null | - |
| $default | mixed | null | - |
getAttributeValues()
¶
SiteContextCreateStruct.php
:
130
|
|
|
Return values
array<string|int, SiteContextAttributeValueStruct>
getColor()
¶
SiteContextCreateStruct.php
:
61
|
|
|
Return values
string
getDescriptions()
¶
SiteContextCreateStruct.php
:
107
|
|
|
Return values
array<string, string|null>
getIdentifier()
¶
SiteContextCreateStruct.php
:
41
|
|
|
Return values
string
getLogo()
¶
SiteContextCreateStruct.php
:
51
|
|
|
Return values
string
getNames()
¶
SiteContextCreateStruct.php
:
84
|
|
|
Return values
array<string, string>
getRegion()
¶
SiteContextCreateStruct.php
:
71
|
|
|
Return values
string
setAttributeValue()
¶
SiteContextCreateStruct.php
:
150
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
| $value | mixed | - | - |
| $languageCode | string|null | null | - |
setAttributeValues()
¶
SiteContextCreateStruct.php
:
138
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $attributeValues | array<string|int, SiteContextAttributeValueStruct> | - | - |
setColor()
¶
SiteContextCreateStruct.php
:
66
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $color | string | - | - |
setDescription()
¶
SiteContextCreateStruct.php
:
120
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $languageCode | string | - | - |
| $description | string|null | - | - |
setDescriptions()
¶
SiteContextCreateStruct.php
:
115
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $descriptions | array<string, string|null> | - | - |
setIdentifier()
¶
SiteContextCreateStruct.php
:
46
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $identifier | string | - | - |
setLogo()
¶
SiteContextCreateStruct.php
:
56
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $logo | string | - | - |
setName()
¶
SiteContextCreateStruct.php
:
97
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $languageCode | string | - | - |
| $name | string | - | - |
setNames()
¶
SiteContextCreateStruct.php
:
92
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $names | array<string, string> | - | - |
setRegion()
¶
SiteContextCreateStruct.php
:
76
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $region | string | - | - |