Copied!

MetadataUpdateStruct

MetadataUpdateStruct.php : 11
Extends ValueObject

Base SPI Value object.

All properties of SPI\ValueObject must be serializable for cache & NoSQL use.

Properties

public $alwaysAvailable

MetadataUpdateStruct.php : 55

If set, this value will change the always available flag.

public bool $alwaysAvailable

public $isHidden

MetadataUpdateStruct.php : 69

If set, this value will change the hidden flag.

public bool $isHidden

public $mainLanguageId

MetadataUpdateStruct.php : 48

If set, the content's main language will be changed.

public int $mainLanguageId

public $modificationDate

MetadataUpdateStruct.php : 41

If set this value overrides the modification date.

public int $modificationDate

Unix timestamp.

public $name

MetadataUpdateStruct.php : 25

If set, will change the content's "always-available" name.

public string $name

public $ownerId

MetadataUpdateStruct.php : 18

If set, this value changes the content's owner ID.

public int $ownerId

public $publicationDate

MetadataUpdateStruct.php : 33

If set this value overrides the publication date of the content.

public int $publicationDate

Unix timestamp.

public $remoteId

MetadataUpdateStruct.php : 62

If set, this value will change the content's remote ID.

public string $remoteId

Methods

public__construct()

ValueObject.php : 31

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 : 54

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>

Tags
Serializerignore

()