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