Copied!

CreateStruct

CreateStruct.php : 13
Extends ValueObject

Base SPI Value object.

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

Properties

public $created

CreateStruct.php : 58

Creation date (timestamp).

public int $created

public $creatorId

CreateStruct.php : 72

Creator user id.

public mixed $creatorId

public $defaultAlwaysAvailable

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

Document.

public $description

CreateStruct.php : 44

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

Content fields in this type.

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

public $groupIds

CreateStruct.php : 139

Contains an array of type group IDs.

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

public $identifier

CreateStruct.php : 51

String identifier of a type.

public string $identifier

public $initialLanguageId

CreateStruct.php : 114

Initial language.

public mixed $initialLanguageId

public $isContainer

CreateStruct.php : 107

Determines if the type is a container.

public bool $isContainer

public $modified

CreateStruct.php : 65

Modification date (timestamp).

public int $modified

public $modifierId

CreateStruct.php : 79

Modifier user id.

public mixed $modifierId

public $name

CreateStruct.php : 25

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

Name schema.

public string $nameSchema

public $remoteId

CreateStruct.php : 86

Unique remote ID.

public string $remoteId

public $sortField

CreateStruct.php : 123

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

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

Version (state) to create.

public int $status

public $urlAliasSchema

CreateStruct.php : 93

URL alias schema.

public string|null $urlAliasSchema

Methods

public__clone()

CreateStruct.php : 158

Performs a deep cloning.

public __clone() : mixed

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]