Multilang/src/metadata.php

89 lines
4.0 KiB
PHP
Raw Normal View History

<?php
/**
* This Software is the property of Data Development and is protected
* by copyright law - it is NOT Freeware.
* Any unauthorized use of this software without a valid license
* is a violation of the license agreement and will be prosecuted by
* civil and criminal law.
* http://www.shopmodule.com
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
* @link http://www.oxidmodule.com
*/
use D3\ModCfg\Application\Controller\Admin\Maintenance\d3ClearTmp;
use D3\ModCfg\Application\Model\d3utils;
use D3\ModCfg\Application\Model\Maintenance\d3clrtmp;
use OxidEsales\Eshop\Application\Controller\Admin\SystemRequirementsMain;
use OxidEsales\Eshop\Core\Language;
/**
* Metadata version
*/
$sMetadataVersion = '2.0';
/**
* Module information
*/
$aModule = array(
'id' => 'd3_multilang',
'title' => (class_exists(d3utils::class) ? d3utils::getInstance()->getD3Logo() : 'D&sup3;') . ' &Uuml;bersetzungsassistent',
'description' => array(
'de' => 'Verwalten Sie die Textbausteine des Shop bequem im Adminbereich',
'en' => '',
),
'thumbnail' => 'picture.png',
'version' => '4.0.0.0',
'author' => 'D&sup3; Data Development (Inh.: Thomas Dartsch)',
'email' => 'support@shopmodule.com',
'url' => 'http://www.oxidmodule.com/',
'extend' => array(
Language::class => D3\Multilang\Modules\Core\d3_oxlang_multilang::class,
d3ClearTmp::class => D3\Multilang\Modules\Application\Controller\Admin\d3cleartmp_multilang::class,
d3clrtmp::class => D3\Multilang\Modules\Application\Model\Maintenance\d3clrtmp_multilang::class,
SystemRequirementsMain::class => D3\Multilang\Modules\Application\Controller\Admin\d3_sysreq_main_multilang::class,
),
'controllers' => array(
'd3_cfg_multilang' => D3\Multilang\Application\Controller\Admin\d3_cfg_multilang::class,
'd3_cfg_multilang_imex' => D3\Multilang\Application\Controller\Admin\d3_cfg_multilang_imex::class,
'd3_cfg_multilang_licence' => D3\Multilang\Application\Controller\Admin\d3_cfg_multilang_licence::class,
'd3_cfg_multilang_list' => D3\Multilang\Application\Controller\Admin\d3_cfg_multilang_list::class,
'd3_cfg_multilang_main' => D3\Multilang\Application\Controller\Admin\d3_cfg_multilang_main::class,
),
'templates' => array(
'd3_cfg_multilang_imex.tpl' => 'd3/multilang/Application/views/admin/tpl/d3_cfg_multilang_imex.tpl',
'd3_cfg_multilang_main.tpl' => 'd3/multilang/Application/views/admin/tpl/d3_cfg_multilang_main.tpl',
'd3_oxid_lang_file_pattern.tpl' => 'd3/multilang/Application/views/admin/tpl/modcfg-pattern/oxid_lang_file.tpl',
),
'events' => array(
'onActivate' => '\D3\Multilang\Setup\Events::onActivate',
'onDeactivate' => '\D3\Multilang\Setup\Events::onDeactivate',
),
'settings' => array(
),
'blocks' => array(
array(
'template' => 'd3cleartmp.tpl',
'block' => 'd3cleartmp_additional',
'file' => 'Application/views/admin/blocks/d3cleartmp_multilang.tpl',
),
array(
'template' => 'd3cleartmp.tpl',
'block' => 'd3cleartmp_js_singleitems',
'file' => 'Application/views/admin/blocks/d3cleartmp_multilang_js.tpl',
),
),
'd3FileRegister' => array(
'd3/multilang/Application/views/admin/de/d3_multilang_lang.php',
'd3/multilang/Application/views/admin/en/d3_multilang_lang.php',
'd3/multilang/Application/Model/d3_translations.php',
'd3/multilang/metadata.php',
'd3/multilang/Setup/Events.php',
'd3/multilang/IntelliSenseHelper.php',
),
'd3SetupClasses' => array(
D3\Multilang\Setup\d3multilang_update::class,
),
);