forked from maximaster/tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
60 lines (49 loc) · 1.19 KB
/
index.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
<?
class maximaster_tools extends \CModule
{
const MODULE_ID = 'maximaster.tools';
function __construct()
{
$arModuleVersion = array();
include( dirname(__FILE__) . "/version.php" );
$this->MODULE_ID = self::MODULE_ID;
$this->MODULE_VERSION = $arModuleVersion[ "VERSION" ];
$this->MODULE_VERSION_DATE = $arModuleVersion[ "VERSION_DATE" ];
$this->MODULE_NAME = 'Инструменты Maximaster';
$this->MODULE_DESCRIPTION = '';
$this->PARTNER_NAME = 'ООО Максимастер';
$this->PARTNER_URI = 'http://www.maximaster.ru';
}
function InstallDB($arParams = array())
{
return true;
}
function UnInstallDB($arParams = array())
{
return true;
}
function InstallEvents()
{
return true;
}
function UnInstallEvents()
{
return true;
}
function InstallFiles($arParams = array())
{
return true;
}
function UnInstallFiles()
{
return true;
}
function DoInstall()
{
RegisterModule(self::MODULE_ID);
}
function DoUninstall()
{
UnRegisterModule(self::MODULE_ID);
}
}