Copied!

ContentTypeUpdateStruct

ContentTypeUpdateStruct.php : 16
Extends ValueObject

This class is used for updating a content type.

Properties

public $defaultAlwaysAvailable

ContentTypeUpdateStruct.php : 79

If set the default always available flag is set to this value.

public bool $defaultAlwaysAvailable

public $defaultSortField

ContentTypeUpdateStruct.php : 65

If set the default sort field is changed to this value.

public mixed $defaultSortField

public $defaultSortOrder

ContentTypeUpdateStruct.php : 72

If set the default sort order is set to this value.

public mixed $defaultSortOrder

public $descriptions

ContentTypeUpdateStruct.php : 107

If set this array of descriptions with languageCode keys replace the complete description collection.

public array<string|int, mixed> $descriptions

an array of string

public $identifier

ContentTypeUpdateStruct.php : 23

If set the unique identifier of a type is changed to this value.

public string $identifier

public $isContainer

ContentTypeUpdateStruct.php : 51

If set the container fllag is set to this value.

public bool $isContainer

public $mainLanguageCode

ContentTypeUpdateStruct.php : 58

If set the main language is changed to this value.

public mixed $mainLanguageCode

public $modificationDate

ContentTypeUpdateStruct.php : 93

If set this value overrides the current time for creation.

public DateTime $modificationDate = null

public $modifierId

ContentTypeUpdateStruct.php : 86

If set this value overrides the current user as creator.

public mixed $modifierId = null

public $names

ContentTypeUpdateStruct.php : 100

If set this array of names with languageCode keys replace the complete name collection.

public array<string|int, mixed> $names

an array of string

public $nameSchema

ContentTypeUpdateStruct.php : 44

If set the name schema is changed to this value.

public string $nameSchema

public $remoteId

ContentTypeUpdateStruct.php : 30

If set the remote ID is changed to this value.

public string $remoteId

public $urlAliasSchema

ContentTypeUpdateStruct.php : 37

If set the URL alias schema is changed to this value.

public string $urlAliasSchema

Methods

public__construct()

ValueObject.php : 30

Construct object optionally with a set of properties.

public __construct([array<string|int, mixed> $properties = [] ])

Readonly properties values must be set using $properties as they are not writable anymore after object has been created.

Parameters

Name Type Default value Description
$properties array<string|int, mixed> [] -

protectedgetProperties()

ValueObject.php : 50

Function where list of properties are returned.

protected getProperties([array<string|int, mixed> $dynamicProperties = [] ]) : array<string|int, mixed>

Used by attributes(), override to add dynamic properties

Parameters

Name Type Default value Description
$dynamicProperties array<string|int, mixed> []

Additional dynamic properties exposed on the object

Return values

array<string|int, mixed>