-
Notifications
You must be signed in to change notification settings - Fork 2
/
include.php
executable file
·135 lines (109 loc) · 6.06 KB
/
include.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
<?php
/**
* Linemedia Autoportal
* Main module
* Main include file
*
* @author Linemedia
* @since 22/01/2012
*
* @link http://auto.linemedia.ru/
*/
IncludeModuleLangFile(__FILE__);
include_once('install/version.php');
include_once('constants.php');
include_once('functions.php');
global $DBType;
CModule::AddAutoloadClasses(
"linemedia.auto",
array(
/*
* Èíòåðôåéñû
*/
'LinemediaAutoISearch' => "classes/general/interfaces/search.php",
/*
* Êëþ÷åâûå êëàññû, ïðîèçâîäùèå ïîèñê
*/
'LinemediaAutoApiDriver' => "classes/general/api_driver.php",
'LinemediaAutoApiModifications' => "classes/general/api_modifications.php",
'LinemediaAutoSearch' => "classes/general/search.php",
'LinemediaAutoSearchSimple' => "classes/$DBType/search_simple.php",
'LinemediaAutoSearchGroup' => "classes/$DBType/search_group.php",
'LinemediaAutoSearchPartial' => "classes/$DBType/search_partial.php",
/*
* Âñïîìîãàòåëüíûå - ñëóæåáíûå êëàññû
*/
'LinemediaAutoXML2Arr' => "classes/general/xml.php",
'LinemediaAutoArr2XML' => "classes/general/xml.php",
'LinemediaAutoI18N' => "classes/general/i18n.php",
'LinemediaAutoDebug' => "classes/general/debug.php",
'LinemediaAutoTecDocRights' => "classes/general/tecdoc_rights.php",
'LinemediaAutoLogger' => "classes/general/logger.php",
'LinemediaAutoExcel' => "classes/general/excel.php",
'LinemediaAutoBrowser' => "classes/general/browser.php",
/*
* Áàçà äàííûõ
*/
'LinemediaAutoDatabaseAll' => "classes/general/database.php",
'LinemediaAutoDatabase' => "classes/$DBType/database.php",
/*
* Èìïîðò¸ð
*/
'LinemediaAutoImportAgent' => "classes/general/import_agent.php",
/*
* Çàìåíû ñòàíäàðòíûõ êëàññîâ Bitrix
*/
'LinemediaAutoBasket' => "classes/general/basket.php",
'LinemediaAutoBrand' => "classes/general/brand.php",
'LinemediaAutoOrder' => "classes/general/order.php",
'LinemediaAutoPartAll' => "classes/general/part.php",
'LinemediaAutoPart' => "classes/$DBType/part.php",
'LinemediaAutoCustomFieldsAll' => "classes/general/custom_fields.php",
'LinemediaAutoCustomFields' => "classes/$DBType/custom_fields.php",
'LinemediaAutoGroupTransfer' => "classes/general/group_transfer.php",
'LinemediaAutoPrice' => "classes/general/price.php",
'LinemediaAutoSupplier' => "classes/general/supplier.php",
'LinemediaAutoModule' => "classes/general/module.php",
'LinemediaAutoTecDocAuto' => "classes/general/tecdoc_auto.php",
/*
* Õåëïåðû
*/
'LinemediaAutoUrlHelper' => "classes/general/url_helper.php",
'LinemediaAutoPartsHelper' => "classes/general/parts_helper.php",
'LinemediaAutoUserHelper' => 'classes/general/user_helper.php', // âñïîìîãàòåëüíûé êëàññ äëÿ ðàáîòû ñ ïîëüçîâàòåëÿìè
'LinemediaAutoFileHelper' => "classes/general/file_helper.php",
'LinemediaAutoDirections' => "classes/general/directions.php",
'LinemediaAutoUser' => "classes/general/user.php",
/*
* Íîâûå ñâîéñòâà èíôîáëîêîâ
*/
'LinemediaAutoIblockPropertyUserGroup' => "classes/general/iblock_prop_usergroup.php",
'LinemediaAutoIblockPropertyCurrency' => "classes/general/iblock_prop_currency.php",
'LinemediaAutoIBlockPropertyCheckbox' => "classes/general/iblock_prop_checkbox.php",
/*
* Íîâîûå âòîðîñòåïåííûå ñóùíîñòè
*/
'LinemediaAutoWordForm' => "classes/general/wordform.php",
'LinemediaAutoCustomDiscount' => "classes/general/custom_discount.php",
'LinemediaAutoBasketFilter' => "classes/general/basket_filter.php",
'LinemediaAutoCSVChecker' => "classes/general/csv_checker.php",
'LinemediaAutoAttach' => "classes/general/attach.php",
'LinemediaAutoRights' => "classes/general/rights.php",
'LinemediaAutoNotepad' => "classes/general/notepad.php",// Êëàññ äëÿ ðàáîòû ñ áëîêíîòîì
'LinemediaAutoBrands' => 'classes/$DBType/brands.php',
/*
* Ñîáûòèÿ ìîäóëåé
*/
'LinemediaAutoEventMain' => "events/main.php", // Êëàññ ñîáûòèé ãëàâíîãî ìîäóëÿ.
'LinemediaAutoEventSale' => "events/sale.php", // Êëàññ ñîáûòèé ìàãàçèíà.
'LinemediaAutoEventIBlock' => "events/iblock.php", // Êëàññ ñîáûòèé èíôîáëîêîâ.
'LinemediaAutoEventSelf' => "events/self.php", // Êëàññ ñîáûòèé ýòîãî ìîäóëÿ.
'LinemediaEventApi' => "events/linemedia.api.php", // Êëàññ ñîáûòèé ìîäóëÿ API.
)
);
/*
* Íåêîòîðûå ñîáûòèÿ íàäî çàïóñêàòü ïðè êàæäîì õèòå (â îñíîâíîì àäìèíèñòðàòîðà)
* ×òîáû ïîêàçàòü íåîáõîäèìûå óâåäîìëåíèÿ
*/
LinemediaAutoEventMain::OnAdminInformerInsertItems_addUpdatesCheck();
LinemediaAutoEventMain::OnAdminInformerInsertItems_addLinemediaAccountCheck();