|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/** |
|
4
|
|
|
* TechDivision\Import\Product\Media\Utils\ColumnKeys |
|
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-media |
|
18
|
|
|
* @link http://www.techdivision.com |
|
19
|
|
|
*/ |
|
20
|
|
|
|
|
21
|
|
|
namespace TechDivision\Import\Product\Media\Utils; |
|
22
|
|
|
|
|
23
|
|
|
/** |
|
24
|
|
|
* Utility class containing the CSV column 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-media |
|
30
|
|
|
* @link http://www.techdivision.com |
|
31
|
|
|
*/ |
|
32
|
|
|
class ColumnKeys extends \TechDivision\Import\Product\Utils\ColumnKeys |
|
33
|
|
|
{ |
|
34
|
|
|
|
|
35
|
|
|
/** |
|
36
|
|
|
* Name for the column 'base_image'. |
|
37
|
|
|
* |
|
38
|
|
|
* @var string |
|
39
|
|
|
*/ |
|
40
|
|
|
const BASE_IMAGE = 'base_image'; |
|
41
|
|
|
|
|
42
|
|
|
/** |
|
43
|
|
|
* Name for the column 'base_image'. |
|
44
|
|
|
* |
|
45
|
|
|
* @var string |
|
46
|
|
|
*/ |
|
47
|
|
|
const BASE_IMAGE_LABEL = 'base_image_label'; |
|
48
|
|
|
|
|
49
|
|
|
/** |
|
50
|
|
|
* Name for the column 'small_image'. |
|
51
|
|
|
* |
|
52
|
|
|
* @var string |
|
53
|
|
|
*/ |
|
54
|
|
|
const SMALL_IMAGE = 'small_image'; |
|
55
|
|
|
|
|
56
|
|
|
/** |
|
57
|
|
|
* Name for the column 'small_image_label'. |
|
58
|
|
|
* |
|
59
|
|
|
* @var string |
|
60
|
|
|
*/ |
|
61
|
|
|
const SMALL_IMAGE_LABEL = 'small_image_label'; |
|
62
|
|
|
|
|
63
|
|
|
/** |
|
64
|
|
|
* Name for the column 'thumbnail_image'. |
|
65
|
|
|
* |
|
66
|
|
|
* @var string |
|
67
|
|
|
*/ |
|
68
|
|
|
const THUMBNAIL_IMAGE = 'thumbnail_image'; |
|
69
|
|
|
|
|
70
|
|
|
/** |
|
71
|
|
|
* Name for the column 'thumbnail_image_label'. |
|
72
|
|
|
* |
|
73
|
|
|
* @var string |
|
74
|
|
|
*/ |
|
75
|
|
|
const THUMBNAIL_IMAGE_LABEL = 'thumbnail_image_label'; |
|
76
|
|
|
|
|
77
|
|
|
/** |
|
78
|
|
|
* Name for the column 'image_parent_sku'. |
|
79
|
|
|
* |
|
80
|
|
|
* @var string |
|
81
|
|
|
*/ |
|
82
|
|
|
const IMAGE_PARENT_SKU = 'image_parent_sku'; |
|
83
|
|
|
|
|
84
|
|
|
/** |
|
85
|
|
|
* Name for the column 'image_path'. |
|
86
|
|
|
* |
|
87
|
|
|
* @var string |
|
88
|
|
|
*/ |
|
89
|
|
|
const IMAGE_PATH = 'image_path'; |
|
90
|
|
|
|
|
91
|
|
|
/** |
|
92
|
|
|
* Name for the column 'image_path_new'. |
|
93
|
|
|
* |
|
94
|
|
|
* @var string |
|
95
|
|
|
*/ |
|
96
|
|
|
const IMAGE_PATH_NEW = 'image_path_new'; |
|
97
|
|
|
|
|
98
|
|
|
/** |
|
99
|
|
|
* Name for the column 'image_label'. |
|
100
|
|
|
* |
|
101
|
|
|
* @var string |
|
102
|
|
|
*/ |
|
103
|
|
|
const IMAGE_LABEL = 'image_label'; |
|
104
|
|
|
|
|
105
|
|
|
/** |
|
106
|
|
|
* Name for the column 'additional_image_labels'. |
|
107
|
|
|
* |
|
108
|
|
|
* @var string |
|
109
|
|
|
*/ |
|
110
|
|
|
const ADDITIONAL_IMAGE_LABELS = 'additional_image_labels'; |
|
111
|
|
|
} |
|
112
|
|
|
|