-
Notifications
You must be signed in to change notification settings - Fork 206
/
ContentTypeUpdateStruct.php
108 lines (93 loc) · 2.29 KB
/
ContentTypeUpdateStruct.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?php
/**
* File containing the eZ\Publish\API\Repository\Values\ContentType\ContentTypeUpdateStruct class.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\API\Repository\Values\ContentType;
use eZ\Publish\API\Repository\Values\ValueObject;
/**
* This class is used for updating a content type.
*/
class ContentTypeUpdateStruct extends ValueObject
{
/**
* If set the unique identifier of a type is changed to this value.
*
* @var string
*/
public $identifier;
/**
* If set the remote ID is changed to this value.
*
* @var string
*/
public $remoteId;
/**
* If set the URL alias schema is changed to this value.
*
* @var string
*/
public $urlAliasSchema;
/**
* If set the name schema is changed to this value.
*
* @var string
*/
public $nameSchema;
/**
* If set the container fllag is set to this value.
*
* @var bool
*/
public $isContainer;
/**
* If set the main language is changed to this value.
*
* @var mixed
*/
public $mainLanguageCode;
/**
* If set the default sort field is changed to this value.
*
* @var mixed
*/
public $defaultSortField;
/**
* If set the default sort order is set to this value.
*
* @var mixed
*/
public $defaultSortOrder;
/**
* If set the default always available flag is set to this value.
*
* @var bool
*/
public $defaultAlwaysAvailable;
/**
* If set this value overrides the current user as creator.
*
* @var mixed
*/
public $modifierId = null;
/**
* If set this value overrides the current time for creation.
*
* @var \DateTime
*/
public $modificationDate = null;
/**
* If set this array of names with languageCode keys replace the complete name collection.
*
* @var array an array of string
*/
public $names;
/**
* If set this array of descriptions with languageCode keys replace the complete description collection.
*
* @var array an array of string
*/
public $descriptions;
}