Completed
Push — pac-264--pdo-exception ( d7412f...93ccfe )
by Tim
08:27
created

MemberNames::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * TechDivision\Import\Utils\MemberNames
5
 *
6
 * NOTICE OF LICENSE
7
 *
8
 * This source file is subject to the Open Software License (OSL 3.0)
9
 * that is available through the world-wide-web at this URL:
10
 * http://opensource.org/licenses/osl-3.0.php
11
 *
12
 * PHP version 5
13
 *
14
 * @author    Tim Wagner <[email protected]>
15
 * @copyright 2016 TechDivision GmbH <[email protected]>
16
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
 * @link      https://github.com/techdivision/import
18
 * @link      http://www.techdivision.com
19
 */
20
21
namespace TechDivision\Import\Utils;
22
23
/**
24
 * Utility class containing the entities member names.
25
 *
26
 * @author    Tim Wagner <[email protected]>
27
 * @copyright 2016 TechDivision GmbH <[email protected]>
28
 * @license   http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29
 * @link      https://github.com/techdivision/import
30
 * @link      http://www.techdivision.com
31
 */
32
class MemberNames extends \TechDivision\Import\Serializer\Csv\Utils\MemberNames
33
{
34
35
    /**
36
     * Name for the member 'code'.
37
     *
38
     * @var string
39
     */
40
    const CODE = 'code';
41
42
    /**
43
     * Name for the member 'attribute_code'.
44
     *
45
     * @var string
46
     */
47
    const ATTRIBUTE_CODE = 'attribute_code';
48
49
    /**
50
     * Name for the member 'attribute_set_id'.
51
     *
52
     * @var string
53
     */
54
    const ATTRIBUTE_SET_ID = 'attribute_set_id';
55
56
    /**
57
     * Name for the member 'attribute_set_name'.
58
     *
59
     * @var string
60
     */
61
    const ATTRIBUTE_SET_NAME = 'attribute_set_name';
62
63
    /**
64
     * Name for the member 'attribute_group_name'.
65
     *
66
     * @var string
67
     */
68
    const ATTRIBUTE_GROUP_NAME = 'attribute_group_name';
69
70
    /**
71
     * Name for the member 'attribute_id'.
72
     *
73
     * @var string
74
     */
75
    const ATTRIBUTE_ID = 'attribute_id';
76
77
    /**
78
     * Name for the member 'entity_id'.
79
     *
80
     * @var string
81
     */
82
    const ENTITY_ID = 'entity_id';
83
84
    /**
85
     * Name for the member 'website_id'.
86
     *
87
     * @var string
88
     */
89
    const WEBSITE_ID = 'website_id';
90
91
    /**
92
     * Name for the member 'store_id'.
93
     *
94
     * @var string
95
     */
96
    const STORE_ID = 'store_id';
97
98
    /**
99
     * Name for the member 'backend_type'.
100
     *
101
     * @var string
102
     */
103
    const BACKEND_TYPE = 'backend_type';
104
105
    /**
106
     * Name for the member 'class_name'.
107
     *
108
     * @var string
109
     */
110
    const CLASS_NAME = 'class_name';
111
112
    /**
113
     * Name for the member 'class_id'.
114
     *
115
     * @var string
116
     */
117
    const CLASS_ID = 'class_id';
118
119
    /**
120
     * Name for the member 'value_id'.
121
     *
122
     * @var string
123
     */
124
    const VALUE_ID = 'value_id';
125
126
    /**
127
     * Name for the member 'option_id'.
128
     *
129
     * @var string
130
     */
131
    const OPTION_ID = 'option_id';
132
133
    /**
134
     * Name for the member 'path'.
135
     *
136
     * @var string
137
     */
138
    const PATH = 'path';
139
140
    /**
141
     * Name for the member 'value'.
142
     *
143
     * @var string
144
     */
145
    const VALUE = 'value';
146
147
    /**
148
     * Name for the member 'frontend_label'.
149
     *
150
     * @var string
151
     */
152
    const FRONTENT_LABEL = 'frontend_label';
153
154
    /**
155
     * Name for the member 'name'.
156
     *
157
     * @var string
158
     */
159
    const NAME = 'name';
160
161
    /**
162
     * Name for the member 'url_path'.
163
     *
164
     * @var string
165
     */
166
    const URL_PATH = 'url_path';
167
168
    /**
169
     * Name for the member 'is_user_defined'.
170
     *
171
     * @var string
172
     */
173
    const ID_USER_DEFINED = 'is_user_defined';
174
175
    /**
176
     * Name for the member 'entity_type_code'.
177
     *
178
     * @var string
179
     */
180
    const ENTITY_TYPE_CODE = 'entity_type_code';
181
182
    /**
183
     * Name for the member 'entity_type'.
184
     *
185
     * @var string
186
     */
187
    const ENTITY_TYPE = 'entity_type';
188
189
    /**
190
     * Name for the member 'target_path'.
191
     *
192
     * @var string
193
     */
194
    const TARGET_PATH = 'target_path';
195
196
    /**
197
     * Name for the member 'request_path'.
198
     *
199
     * @var string
200
     */
201
    const REQUEST_PATH = 'request_path';
202
203
    /**
204
     * Name for the member 'redirect_type'.
205
     *
206
     * @var string
207
     */
208
    const REDIRECT_TYPE = 'redirect_type';
209
210
    /**
211
     * Name for the member 'description'.
212
     *
213
     * @var string
214
     */
215
    const DESCRIPTION = 'description';
216
217
    /**
218
     * Name for the member 'is_autogenerated'.
219
     *
220
     * @var string
221
     */
222
    const IS_AUTOGENERATED = 'is_autogenerated';
223
224
    /**
225
     * Name for the member 'metadata'.
226
     *
227
     * @var string
228
     */
229
    const METADATA = 'metadata';
230
231
    /**
232
     * Name for the member 'url_rewrite_id'.
233
     *
234
     * @var string
235
     */
236
    const URL_REWRITE_ID = 'url_rewrite_id';
237
238
    /**
239
     * Name for the member 'scope'.
240
     *
241
     * @var string
242
     */
243
    const SCOPE = 'scope';
244
245
    /**
246
     * Name for the member 'scope_id'.
247
     *
248
     * @var string
249
     */
250
    const SCOPE_ID = 'scope_id';
251
252
    /**
253
     * Name for the member 'group_id'.
254
     *
255
     * @var string
256
     */
257
    const GROUP_ID = 'group_id';
258
259
    /**
260
     * Name for the member 'sort_order'.
261
     *
262
     * @var string
263
     */
264
    const SORT_ORDER = 'sort_order';
265
266
    /**
267
     * Name for the member 'is_active'.
268
     *
269
     * @var string
270
     */
271
    const IS_ACTIVE = 'is_active';
272
273
    /**
274
     * Name for the member 'default_group_id'.
275
     *
276
     * @var string
277
     */
278
    const DEFAULT_GROUP_ID = 'default_group_id';
279
280
    /**
281
     * Name for the member 'default_store_id'.
282
     *
283
     * @var string
284
     */
285
    const DEFAULT_STORE_ID = 'default_store_id';
286
287
    /**
288
     * Name for the member 'is_default'.
289
     *
290
     * @var string
291
     */
292
    const IS_DEFAULT = 'is_default';
293
294
    /**
295
     * Name for the member 'root_category_id'.
296
     *
297
     * @var string
298
     */
299
    const ROOT_CATEGORY_ID = 'root_category_id';
300
301
    /**
302
     * Name for the member 'customer_group_code'.
303
     *
304
     * @var string
305
     */
306
    const CUSTOMER_GROUP_CODE = 'customer_group_code';
307
308
    /**
309
     * Name for the member 'row_id'.
310
     *
311
     * @var string
312
     */
313
    const ROW_ID = 'row_id';
314
315
    /**
316
     * Name for the member 'url_key'.
317
     *
318
     * @var string
319
     */
320
    const URL_KEY = 'url_key';
321
322
    /**
323
     * Name for the member 'history_id'.
324
     *
325
     * @var string
326
     */
327
    const HISTORY_ID = 'history_id';
328
329
    /**
330
     * Name for the member 'user_id'.
331
     *
332
     * @var string
333
     */
334
    const USER_ID = 'user_id';
335
336
    /**
337
     * Name for the member 'username'.
338
     *
339
     * @var string
340
     */
341
    const USERNAME = 'username';
342
343
    /**
344
     * Name for the member 'started_at'.
345
     *
346
     * @var string
347
     */
348
    const STARTED_AT = 'started_at';
349
350
    /**
351
     * Name for the member 'imported_file'.
352
     *
353
     * @var string
354
     */
355
    const IMPORTED_FILE = 'imported_file';
356
357
    /**
358
     * Name for the member 'execution_time'.
359
     *
360
     * @var string
361
     */
362
    const EXECUTION_TIME = 'execution_time';
363
364
    /**
365
     * Name for the member 'summary'.
366
     *
367
     * @var string
368
     */
369
    const SUMMARY = 'summary';
370
371
    /**
372
     * Name for the member 'error_file'.
373
     *
374
     * @var string
375
     */
376
    const ERROR_FILE = 'error_file';
377
378
    /**
379
     * Name for the parameter name 'pk'.
380
     *
381
     * @var string
382
     */
383
    const PK = 'pk';
384
385
    /**
386
     * Name for the member 'entity_table'.
387
     *
388
     * @var string
389
     */
390
    const ENTITY_TABLE = 'entity_table';
391
392
    /**
393
     * Name for the member 'default_value'.
394
     *
395
     * @var string
396
     */
397
    const DEFAULT_VALUE = 'default_value';
398
}
399