1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* TechDivision\Import\Product\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-product |
18
|
|
|
* @link http://www.techdivision.com |
19
|
|
|
*/ |
20
|
|
|
|
21
|
|
|
namespace TechDivision\Import\Product\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-product |
30
|
|
|
* @link http://www.techdivision.com |
31
|
|
|
*/ |
32
|
|
|
class MemberNames extends \TechDivision\Import\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_id'. |
65
|
|
|
* |
66
|
|
|
* @var string |
67
|
|
|
*/ |
68
|
|
|
const ATTRIBUTE_ID = 'attribute_id'; |
69
|
|
|
|
70
|
|
|
/** |
71
|
|
|
* Name for the member 'entity_id'. |
72
|
|
|
* |
73
|
|
|
* @var string |
74
|
|
|
*/ |
75
|
|
|
const ENTITY_ID = 'entity_id'; |
76
|
|
|
|
77
|
|
|
/** |
78
|
|
|
* Name for the member 'website_id'. |
79
|
|
|
* |
80
|
|
|
* @var string |
81
|
|
|
*/ |
82
|
|
|
const WEBSITE_ID = 'website_id'; |
83
|
|
|
|
84
|
|
|
/** |
85
|
|
|
* Name for the member 'store_id'. |
86
|
|
|
* |
87
|
|
|
* @var string |
88
|
|
|
*/ |
89
|
|
|
const STORE_ID = 'store_id'; |
90
|
|
|
|
91
|
|
|
/** |
92
|
|
|
* Name for the member 'backend_type'. |
93
|
|
|
* |
94
|
|
|
* @var string |
95
|
|
|
*/ |
96
|
|
|
const BACKEND_TYPE = 'backend_type'; |
97
|
|
|
|
98
|
|
|
/** |
99
|
|
|
* Name for the member 'class_name'. |
100
|
|
|
* |
101
|
|
|
* @var string |
102
|
|
|
*/ |
103
|
|
|
const CLASS_NAME = 'class_name'; |
104
|
|
|
|
105
|
|
|
/** |
106
|
|
|
* Name for the member 'class_id'. |
107
|
|
|
* |
108
|
|
|
* @var string |
109
|
|
|
*/ |
110
|
|
|
const CLASS_ID = 'class_id'; |
111
|
|
|
|
112
|
|
|
/** |
113
|
|
|
* Name for the member 'value_id'. |
114
|
|
|
* |
115
|
|
|
* @var string |
116
|
|
|
*/ |
117
|
|
|
const VALUE_ID = 'value_id'; |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* Name for the member 'frontend_input'. |
121
|
|
|
* |
122
|
|
|
* @var string |
123
|
|
|
*/ |
124
|
|
|
const FRONTEND_INPUT = 'frontend_input'; |
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 'category_id'. |
156
|
|
|
* |
157
|
|
|
* @var string |
158
|
|
|
*/ |
159
|
|
|
const CATEGORY_ID = 'category_id'; |
160
|
|
|
|
161
|
|
|
/** |
162
|
|
|
* Name for the member 'request_path'. |
163
|
|
|
* |
164
|
|
|
* @var string |
165
|
|
|
*/ |
166
|
|
|
const REQUEST_PATH = 'request_path'; |
167
|
|
|
|
168
|
|
|
/** |
169
|
|
|
* Name for the member 'url_rewrite_id'. |
170
|
|
|
* |
171
|
|
|
* @var string |
172
|
|
|
*/ |
173
|
|
|
const URL_REWRITE_ID = 'url_rewrite_id'; |
174
|
|
|
} |
175
|
|
|
|