Copied!

ContentTypeUpdateStruct

ContentTypeUpdateStruct.php : 17
Extends ValueObject

This class is used for updating a content type.

Properties

public $defaultAlwaysAvailable

ContentTypeUpdateStruct.php : 62

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

public bool|null $defaultAlwaysAvailable = null

public $defaultSortField

ContentTypeUpdateStruct.php : 52

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

public int|null $defaultSortField = null

public $defaultSortOrder

ContentTypeUpdateStruct.php : 57

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

public int|null $defaultSortOrder = null

public $descriptions

ContentTypeUpdateStruct.php : 86

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

public array<string, string>|null $descriptions = null

public $identifier

ContentTypeUpdateStruct.php : 22

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

public string|null $identifier = null

public $isContainer

ContentTypeUpdateStruct.php : 42

If set the container flag is set to this value.

public bool|null $isContainer = null

public $mainLanguageCode

ContentTypeUpdateStruct.php : 47

If set the main language is changed to this value.

public string|null $mainLanguageCode = null

public $modificationDate

ContentTypeUpdateStruct.php : 72

If set this value overrides the current time for creation.

public DateTimeInterface|null $modificationDate = null

public $modifierId

ContentTypeUpdateStruct.php : 67

If set this value overrides the current user as creator.

public int|null $modifierId = null

public $names

ContentTypeUpdateStruct.php : 79

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

public array<string, string>|null $names = null

public $nameSchema

ContentTypeUpdateStruct.php : 37

If set the name schema is changed to this value.

public string|null $nameSchema = null

public $remoteId

ContentTypeUpdateStruct.php : 27

If set the remote ID is changed to this value.

public string|null $remoteId = null

public $urlAliasSchema

ContentTypeUpdateStruct.php : 32

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

public string|null $urlAliasSchema = null

Methods

public__construct()

ValueObject.php : 32

Construct object optionally with a set of properties.

public __construct([array<string, mixed> $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> [] -

protectedgetProperties()

ValueObject.php : 53

Returns list of available properties' names.

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

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>

Attributes
#[Ignore]