8
0
linkmobility4oxid/src/metadata.php

77 Zeilen
2.7 KiB
PHP

2022-06-20 15:41:50 +02:00
<?php
/**
* Metadata version
*/
2022-07-04 09:13:36 +02:00
2022-07-04 13:28:58 +02:00
use D3\Linkmobility4OXID\Application\Controller\Admin\AdminOrder;
2022-07-04 09:13:36 +02:00
use D3\Linkmobility4OXID\Application\Controller\Admin\AdminUser;
2022-07-04 16:33:49 +02:00
use D3\Linkmobility4OXID\Modules\Core\EmailCore;
use OxidEsales\Eshop\Core\Email;
2022-07-04 09:13:36 +02:00
2022-06-20 15:41:50 +02:00
$sMetadataVersion = '2.1';
2022-07-04 09:13:36 +02:00
$sModuleId = 'd3linkmobility';
$sD3Logo = '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="height:1em;width:1em"> ';
2022-06-20 15:41:50 +02:00
/**
* Module information
*/
$aModule = [
'id' => $sModuleId,
'title' => $sD3Logo . ' Linkmobility',
'description' => [
'de' => 'Anbiundung an die Linkmobility API <ul><li>Nachrichtenversand per SMS</li></ul>',
'en' => '',
],
'thumbnail' => 'picture.png',
'version' => '0.1',
'author' => 'D&sup3; Data Development (Inh.: Thomas Dartsch)',
'email' => 'support@shopmodule.com',
'url' => 'https://www.oxidmodule.com/',
'extend' => [
\OxidEsales\Eshop\Application\Controller\StartController::class => \D3\Linkmobility4OXID\Modules\Application\Controller\StartController::class,
2022-07-04 16:33:49 +02:00
\OxidEsales\Eshop\Application\Controller\ContactController::class => \D3\Linkmobility4OXID\Modules\Application\Controller\ContactController::class,
Email::class => EmailCore::class
2022-06-20 15:41:50 +02:00
],
2022-07-04 09:13:36 +02:00
'controllers' => [
2022-07-04 13:28:58 +02:00
'd3linkmobility_user' => AdminUser::class,
'd3linkmobility_order' => AdminOrder::class
2022-07-04 09:13:36 +02:00
],
'templates' => [
2022-07-04 13:28:58 +02:00
'd3adminuser.tpl' => 'd3/linkmobility/Application/views/admin/tpl/adminuser.tpl',
2022-07-04 16:33:49 +02:00
'd3adminorder.tpl' => 'd3/linkmobility/Application/views/admin/tpl/adminuser.tpl',
'd3sms_ordercust.tpl' => 'd3/linkmobility/Application/views/tpl/SMS/order_cust.tpl',
2022-07-04 09:13:36 +02:00
],
2022-06-20 15:41:50 +02:00
'events' => [],
'settings' => [
[
'group' => $sModuleId.'_general',
'name' => $sModuleId.'_debug',
'type' => 'bool',
'value' => false
],
[
'group' => $sModuleId.'_general',
'name' => $sModuleId.'_apitoken',
'type' => 'str',
'value' => false
],
[
'group' => $sModuleId.'_general',
'name' => $sModuleId.'_smsSenderNumber',
'type' => 'str',
'value' => false
],
[
'group' => $sModuleId.'_general',
'name' => $sModuleId.'_smsSenderCountry',
'type' => 'str',
'value' => 'DE'
2022-07-04 16:33:49 +02:00
],
[
'group' => $sModuleId.'_order',
'name' => $sModuleId.'_orderActive',
'type' => 'bool',
'value' => false
2022-06-20 15:41:50 +02:00
]
]
];