forked from mayflower/oxid-bepado
/
metadata.php
169 lines (158 loc) · 10.3 KB
/
metadata.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<?php
$aMetadataVersion = "1.1";
$aPaths = array(
'components' => $sModuleId . '/application/components',
'controllers' => $sModuleId . '/application/controllers',
'models' => $sModuleId . '/application/models',
'core' => $sModuleId . '/application/core',
'helper' => $sModuleId . '/application/helper',
'converter' => $sModuleId . '/application/converter',
// 'admin' => $sModuleId . '/application/controllers/admin',
'views' => $sModuleId . '/application/views',
'blocks' => 'application/views/blocks',
);
$aModule = array(
'id' => 'bepado',
'title' => 'Bepado-Plugin',
'description' => array(
'de' => 'Verbinden Sie ihren Oxid eShop mit dem Bepado Netzwerk',
'en' => 'To connect your Oxid eShop with the Bepado network',
),
'version' => '1.0.0',
'author' => 'Mayflower GmbH',
'email' => 'kontakt@mayflower.de',
'url' => 'http://www.mayflower.de/OXID-Bepado-Modul',
'thumbnail' => 'thumbnail.jpg',
'extend' => array(
'article_extend' => $aPaths['controllers'] . '/admin/mf_article_extend',
'article_list' => $aPaths['controllers'] . '/admin/mf_article_list',
'category_main' => $aPaths['controllers'] . '/admin/mf_category_main',
'category_list' => $aPaths['controllers'] . '/admin/mf_category_list',
'list_order' => $aPaths['controllers'] . '/admin/mf_list_order',
'order_article' => $aPaths['controllers'] . '/admin/mf_order_article',
'order_package' => $aPaths['controllers'] . '/admin/mf_order_package',
'basket' => $aPaths['controllers'] . '/mf_basket',
'order' => $aPaths['controllers'] . '/mf_order',
'details' => $aPaths['controllers'] . '/mf_details',
'oxarticle' => $aPaths['models'] . '/mf_bepado_oxarticle',
'oxorder' => $aPaths['models'] . '/mf_oxOrder',
'oxorderarticle' => $aPaths['models'] . '/mf_oxorderarticle',
),
'files' => array(
'mfbepado' => $aPaths['controllers'] . '/mfBepado.php',
'mf_configuration_module' => $aPaths['controllers'] . '/admin/mf_configuration_module.php',
'mf_configuration_module_main' => $aPaths['controllers'] . '/admin/mf_configuration_module_main.php',
'mf_configuration_module_list' => $aPaths['controllers'] . '/admin/mf_configuration_module_list.php',
'mf_configuration_category' => $aPaths['controllers'] . '/admin/mf_configuration_category.php',
'mf_configuration_category_main' => $aPaths['controllers'] . '/admin/mf_configuration_category_main.php',
'mf_configuration_category_list' => $aPaths['controllers'] . '/admin/mf_configuration_category_list.php',
'mfunit' => $aPaths['controllers'] . '/admin/mfunit.php',
'mfunit_main' => $aPaths['controllers'] . '/admin/mfunit_main.php',
'mfunit_list' => $aPaths['controllers'] . '/admin/mfunit_list.php',
'mf_product_admin_list' => $aPaths['controllers'] . '/admin/mf_product_admin_list.php',
'mf_product_import' => $aPaths['controllers'] . '/admin/mf_product_import.php',
'mf_product_import_main' => $aPaths['controllers'] . '/admin/mf_product_import_main.php',
'mf_product_import_list' => $aPaths['controllers'] . '/admin/mf_product_import_list.php',
'mf_product_export' => $aPaths['controllers'] . '/admin/mf_product_export.php',
'mf_product_export_main' => $aPaths['controllers'] . '/admin/mf_product_export_main.php',
'mf_product_export_list' => $aPaths['controllers'] . '/admin/mf_product_export_list.php',
'oxidproductfromshop' => $aPaths['models'] . '/productFromShop.php',
'oxidProductToShop' => $aPaths['models'] . '/productToShop.php',
'mfBepadoConfiguration' => $aPaths['models'] . '/mfBepadoConfiguration.php',
'mfBepadoUnit' => $aPaths['models'] . '/mfBepadoUnit.php',
'mfBepadoProduct' => $aPaths['models'] . '/mfBepadoProduct.php',
'mfConverterInterface' => $aPaths['converter'] . '/mfConverterInterface.php',
'mfAbstractConvertChain' => $aPaths['converter'] . '/mfAbstractConvertChain.php',
'mfProductConverterChain' => $aPaths['converter'] . '/mfProductConverterChain.php',
'mfProductBaseConverter' => $aPaths['converter'] . '/mfProductBaseConverter.php',
'mfProductPricingConverter' => $aPaths['converter'] . '/mfProductPricingConverter.php',
'mfProductAttributesConverter' => $aPaths['converter'] . '/mfProductAttributesConverter.php',
'mfProductImagesConverter' => $aPaths['converter'] . '/mfProductImagesConverter.php',
'mfProductCategoriesConverter' => $aPaths['converter'] . '/mfProductCategoriesConverter.php',
'mfProductVendorConverter' => $aPaths['converter'] . '/mfProductVendorConverter.php',
'mfProductDeliveryConverter' => $aPaths['converter'] . '/mfProductDeliveryConverter.php',
'mfAbstractConverter' => $aPaths['converter'] . '/mfAbstractConverter.php',
'mfOrderConverter' => $aPaths['converter'] . '/mfOrderConverter.php',
'mfAddressConverter' => $aPaths['converter'] . '/mfAddressConverter.php',
'EventListener' => $aPaths['core'] . '/EventListener.php',
'VersionLayerInterface' => $aPaths['core'] . '/interface/VersionLayerInterface.php',
'VersionLayer460' => $aPaths['core'] . '/VersionLayer460.php',
'VersionLayer470' => $aPaths['core'] . '/VersionLayer470.php',
'VersionLayer490' => $aPaths['core'] . '/VersionLayer490.php',
'VersionLayer500' => $aPaths['core'] . '/VersionLayer500.php',
'VersionLayerFactory' => $aPaths['core'] . '/VersionLayerFactory.php',
'mf_abstract_helper' => $aPaths['helper'] . '/mf_abstract_helper.php',
'mf_sdk_helper' => $aPaths['helper'] . '/mf_sdk_helper.php',
'mf_sdk_product_helper' => $aPaths['helper'] . '/mf_sdk_product_helper.php',
'mf_sdk_logger_helper' => $aPaths['helper'] . '/mf_sdk_logger_helper.php',
'mf_sdk_article_helper' => $aPaths['helper'] . '/mf_sdk_article_helper.php',
'mf_sdk_order_helper' => $aPaths['helper'] . '/mf_sdk_order_helper.php',
'mf_module_helper' => $aPaths['helper'] . '/mf_module_helper.php',
'mf_article_number_generator' => $aPaths['helper'] . '/mf_article_number_generator.php',
),
'blocks' => array(
array(
'template' => 'article_extend.tpl',
'block' => 'admin_article_extend_media',
'file' => $aPaths['blocks'] . '/mf_article_extend.tpl'
),
array(
'template' => 'article_list.tpl',
'block' => 'admin_article_list_item',
'file' => $aPaths['blocks'] . '/mf_article_list.tpl'
),
array(
'template' => 'category_main.tpl',
'block' => 'admin_category_main_form',
'file' => $aPaths['blocks'] . '/mf_category_main.tpl'
),
array(
'template' => 'list_order.tpl',
'block' => 'admin_list_order_item',
'file' => $aPaths['blocks'] . '/mf_list_order.tpl'
),
array(
'template' => 'order_article.tpl',
'block' => 'admin_order_article_listitem',
'file' => $aPaths['blocks'] . '/mf_order_article.tpl'
),
array(
'template' => 'page/checkout/payment.tpl',
'block' => 'checkout_payment_errors',
'file' => $aPaths['blocks'] . '/mf_checkout_payment_errors.tpl'
),
array(
'template' => 'page/checkout/inc/basketcontents.tpl',
'block' => 'checkout_basketcontents_basketitem_titlenumber',
'file' => $aPaths['blocks'] . '/checkout_basketcontents_basketitem_titlenumber.tpl'
),
array(
'template' => 'page/details/inc/productmain.tpl',
'block' => 'details_productmain_artnumber',
'file' => $aPaths['blocks'] . '/details_productmain_artnumber.tpl'
),
),
'templates' => array(
'mf_category_list.tpl' => $aPaths['views'] . '/admin/tpl/mf_category_list.tpl',
'mf_order_package.tpl' => $aPaths['views'] . '/admin/tpl/mf_order_package.tpl',
'mf_sdk_result.tpl' => $aPaths['views'] . '/tpl/mf_sdk_result.tpl',
'mf_configuration_module.tpl' => $aPaths['views'] . '/admin/tpl/mf_configuration_module.tpl',
'mf_configuration_module_main.tpl' => $aPaths['views'] . '/admin/tpl/mf_configuration_module_main.tpl',
'mf_configuration_module_list.tpl' => $aPaths['views'] . '/admin/tpl/mf_configuration_module_list.tpl',
'mf_configuration_category.tpl' => $aPaths['views'] . '/admin/tpl/mf_configuration_category.tpl',
'mf_configuration_category_main.tpl' => $aPaths['views'] . '/admin/tpl/mf_configuration_category_main.tpl',
'mf_configuration_category_list.tpl' => $aPaths['views'] . '/admin/tpl/mf_configuration_category_list.tpl',
'mfunit.tpl' => $aPaths['views'] . '/admin/tpl/mfunit.tpl',
'mfunit_main.tpl' => $aPaths['views'] . '/admin/tpl/mfunit_main.tpl',
'mfunit_list.tpl' => $aPaths['views'] . '/admin/tpl/mfunit_list.tpl',
'mf_product_import.tpl' => $aPaths['views'] . '/admin/tpl/mf_product_import.tpl',
'mf_product_import_main.tpl' => $aPaths['views'] . '/admin/tpl/mf_product_import_main.tpl',
'mf_product_import_list.tpl' => $aPaths['views'] . '/admin/tpl/mf_product_import_list.tpl',
'mf_product_export.tpl' => $aPaths['views'] . '/admin/tpl/mf_product_export.tpl',
'mf_product_export_main.tpl' => $aPaths['views'] . '/admin/tpl/mf_product_export_main.tpl',
'mf_product_export_list.tpl' => $aPaths['views'] . '/admin/tpl/mf_product_export_list.tpl',
),
'events' => array(
'onActivate' => 'EventListener::onActivate',
),
);