This class is used for updating a content type.
Properties¶
$defaultAlwaysAvailable
¶
If set the default always available flag is set to this value.
|
|
$defaultSortField
¶
If set the default sort field is changed to this value.
|
|
$defaultSortOrder
¶
If set the default sort order is set to this value.
|
|
$descriptions
¶
If set this array of descriptions with languageCode keys replace the complete description collection.
|
|
an array of string
$identifier
¶
If set the unique identifier of a type is changed to this value.
|
|
$isContainer
¶
If set the container fllag is set to this value.
|
|
$mainLanguageCode
¶
If set the main language is changed to this value.
|
|
$modificationDate
¶
If set this value overrides the current time for creation.
|
|
$modifierId
¶
If set this value overrides the current user as creator.
|
|
$names
¶
If set this array of names with languageCode keys replace the complete name collection.
|
|
an array of string
$nameSchema
¶
If set the name schema is changed to this value.
|
|
$remoteId
¶
If set the remote ID is changed to this value.
|
|
$urlAliasSchema
¶
If set the URL alias schema is changed to this value.
|
|
Methods¶
__construct()
¶
Construct object optionally with a set of properties.
|
|
Readonly properties values must be set using $properties
as they aren't writable anymore
after object has been created.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$properties | array<string, mixed> | [] | - |
getProperties()
¶
Returns list of available properties' names.
|
|
Override to add dynamic properties.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<int, string> | [] |
Additional dynamic properties exposed on the object |
Return values
array<int, string>