-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPlugin.php
48 lines (43 loc) · 1.51 KB
/
Plugin.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
<?php namespace Shohabbos\Payeer;
use Backend;
use System\Classes\PluginBase;
class Plugin extends PluginBase
{
public function registerComponents()
{
return [
\Shohabbos\Payeer\Components\PayForm::class => 'payFormComponent',
];
}
public function pluginDetails() {
return [
'name' => 'shohabbos.payeer::lang.plugin.name',
'description' => 'shohabbos.payeer::lang.plugin.description',
'author' => 'Shohabbos Olimjonov',
'icon' => 'oc-icon-paypal',
'homepage' => 'https://itmaker.uz',
];
}
public function registerSettings()
{
return [
'transactions' => [
'label' => 'shohabbos.payeer::lang.transactions.title',
'description' => 'shohabbos.payeer::lang.transactions.description',
'icon' => 'icon-list-alt',
'url' => Backend::url('shohabbos/payeer/transactions'),
'order' => 500,
'category' => 'shohabbos.payeer::lang.plugin.name',
],
'settings' => [
'category' => 'shohabbos.payeer::lang.plugin.name',
'label' => 'shohabbos.payeer::lang.settings.label',
'description' => 'shohabbos.payeer::lang.settings.description',
'icon' => 'icon-cog',
'class' => 'Shohabbos\Payeer\Models\Settings',
'order' => 501,
'keywords' => 'payeer paymets',
]
];
}
}