* @link https://www.oxidmodule.com
*/
declare(strict_types=1);
use D3\Linkmobility4OXID\Application\Controller\Admin\AdminOrder;
use D3\Linkmobility4OXID\Application\Controller\Admin\AdminUser;
use D3\Linkmobility4OXID\Modules\Application\Model\OrderModel;
use D3\Linkmobility4OXID\Modules\Core\EmailCore;
use OxidEsales\Eshop\Application\Model\Order;
use OxidEsales\Eshop\Core\Email;
$sMetadataVersion = '2.1';
$sModuleId = 'd3linkmobility';
$sD3Logo = ' ';
/**
* Module information
*/
$aModule = [
'id' => $sModuleId,
'title' => $sD3Logo . ' LINK Mobility Mobile Messaging',
'description' => [
'de' => 'Anbindung der LINK Mobility API
- Nachrichtenversand per SMS
an den Shop',
'en' => '',
],
'version' => '1.0.0.0',
'thumbnail' => 'picture.png',
'author' => 'D³ Data Development (Inh.: Thomas Dartsch)',
'email' => 'support@shopmodule.com',
'url' => 'https://www.oxidmodule.com/',
'extend' => [
Email::class => EmailCore::class,
Order::class => OrderModel::class
],
'controllers' => [
'd3linkmobility_user' => AdminUser::class,
'd3linkmobility_order' => AdminOrder::class
],
'templates' => [
'd3adminuser.tpl' => 'd3/linkmobility/Application/views/admin/tpl/adminuser.tpl',
'd3adminorder.tpl' => 'd3/linkmobility/Application/views/admin/tpl/adminuser.tpl',
'd3sms_ordercust.tpl' => 'd3/linkmobility/Application/views/tpl/SMS/order_cust.tpl',
'd3sms_sendednow.tpl' => 'd3/linkmobility/Application/views/tpl/SMS/sendednow.tpl',
'd3sms_ordercanceled.tpl' => 'd3/linkmobility/Application/views/tpl/SMS/ordercanceled.tpl',
],
'events' => [],
'blocks' => [
[
'template' => 'order_remark.tpl',
'block' => 'admin_order_remark_type',
'file' => 'Application/views/blocks/admin/admin_user_remark_type.tpl',
],
[
'template' => 'user_remark.tpl',
'block' => 'admin_user_remark_type',
'file' => 'Application/views/blocks/admin/admin_user_remark_type.tpl',
]
],
'settings' => [
[
'group' => $sModuleId.'_general',
'name' => $sModuleId.'_debug',
'type' => 'bool',
'value' => false
],
[
'group' => $sModuleId.'_general',
'name' => $sModuleId.'_apitoken',
'type' => 'str',
'value' => false
],
[
'group' => $sModuleId.'_sms',
'name' => $sModuleId.'_smsSenderNumber',
'type' => 'str',
'value' => false
],
[
'group' => $sModuleId.'_sms',
'name' => $sModuleId.'_smsSenderCountry',
'type' => 'str',
'value' => 'DE'
],
[
'group' => $sModuleId.'_sms',
'name' => $sModuleId.'_smsUserRecipientsFields',
'type' => 'arr',
'value' => [],
],
[
'group' => $sModuleId.'_sms',
'name' => $sModuleId.'_smsOrderRecipientsFields',
'type' => 'aarr',
'value' => [],
],
[
'group' => $sModuleId.'_trigger',
'name' => $sModuleId.'_orderActive',
'type' => 'bool',
'value' => false
],
[
'group' => $sModuleId.'_trigger',
'name' => $sModuleId.'_sendedNowActive',
'type' => 'bool',
'value' => false
],
[
'group' => $sModuleId.'_trigger',
'name' => $sModuleId.'_cancelOrderActive',
'type' => 'bool',
'value' => false
]
]
];