Copied!

CreateStruct

CreateStruct.php : 12
Extends ValueObject

Base SPI Value object.

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

Properties

public $created

CreateStruct.php : 57

Creation date (timestamp).

public int $created

public $creatorId

CreateStruct.php : 71

Creator user id.

public mixed $creatorId

public $defaultAlwaysAvailable

CreateStruct.php : 152
public bool $defaultAlwaysAvailable = false
Tags
Todo:

Document.

public $description

CreateStruct.php : 43

Human readable description of the content type.

public array<string|int, string> $description = []

The structure of this field is: array( 'eng' => '<description_eng>', 'de' => '<description_de>' );

public $fieldDefinitions

CreateStruct.php : 145

Content fields in this type.

public array<string|int, FieldDefinition$fieldDefinitions = []

public $groupIds

CreateStruct.php : 138

Contains an array of type group IDs.

public array<string|int, mixed> $groupIds = []

public $identifier

CreateStruct.php : 50

String identifier of a type.

public string $identifier

public $initialLanguageId

CreateStruct.php : 113

Initial language.

public mixed $initialLanguageId

public $isContainer

CreateStruct.php : 106

Determines if the type is a container.

public bool $isContainer

public $modified

CreateStruct.php : 64

Modification date (timestamp).

public int $modified

public $modifierId

CreateStruct.php : 78

Modifier user id.

public mixed $modifierId

public $name

CreateStruct.php : 24

Human readable name of the content type.

public array<string|int, string> $name

The structure of this field is: array( 'eng' => '<name_eng>', 'de' => '<name_de>' );

public $nameSchema

CreateStruct.php : 99

Name schema.

public string $nameSchema

public $remoteId

CreateStruct.php : 85

Unique remote ID.

public string $remoteId

public $sortField

CreateStruct.php : 122

Specifies which property the child locations should be sorted on by default when created.

public mixed $sortField = \Ibexa\Contracts\Core\Persistence\Content\Location::SORT_FIELD_PUBLISHED

Valid values are found at

public $sortOrder

CreateStruct.php : 131

Specifies whether the sort order should be ascending or descending by default when created.

public mixed $sortOrder = \Ibexa\Contracts\Core\Persistence\Content\Location::SORT_ORDER_DESC

Valid values are

public $status

CreateStruct.php : 31

Version (state) to create.

public int $status

public $urlAliasSchema

CreateStruct.php : 92

URL alias schema.

public string $urlAliasSchema

Methods

public__clone()

CreateStruct.php : 157

Performs a deep cloning.

public __clone() : mixed

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>