-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathkjmodulebedrock.php
57 lines (50 loc) · 1.59 KB
/
kjmodulebedrock.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
<?php
/**
* Copyright since 2019 Kaudaj
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @author Kaudaj <[email protected]>
* @copyright Since 2019 Kaudaj
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*/
declare(strict_types=1);
if (file_exists(dirname(__FILE__) . '/vendor/autoload.php')) {
require_once dirname(__FILE__) . '/vendor/autoload.php';
}
class KJModuleBedrock extends Module
{
public function __construct()
{
$this->name = 'kjmodulebedrock';
$this->tab = 'others';
$this->version = '1.0.0';
$this->author = 'Kaudaj';
$this->ps_versions_compliancy = ['min' => '1.7.8.0', 'max' => _PS_VERSION_];
$this->bootstrap = true;
parent::__construct();
$this->displayName = $this->trans('Module Bedrock', [], 'Modules.Kjmodulebedrock.Admin');
$this->description = $this->trans(<<<EOF
Boost module development by providing a solid bedrock.
EOF
,
[],
'Modules.Kjmodulebedrock.Admin'
);
}
/**
* {@inheritdoc}
*/
public function isUsingNewTranslationSystem(): bool
{
return true;
}
}