DataWizardTasks/Modules/DataWizard/Application/Model/Configuration.php

40 regels
1.6 KiB
PHP

2021-07-27 15:10:11 +02:00
<?php
/**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* https://www.d3data.de
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
* @link https://www.oxidmodule.com
*/
namespace D3\DataWizardTasks\Modules\DataWizard\Application\Model;
use D3\DataWizard\Application\Model\Configuration as ConfigurationParent;
use D3\DataWizardTasks\Application\Model\Actions\FixArtextendsItems;
2021-07-28 17:39:15 +02:00
use D3\DataWizardTasks\Application\Model\Actions\FixWysiwygSpecialChars;
use D3\DataWizardTasks\Application\Model\Exports\DestroyedWysiwygSpecialChars;
2021-07-27 15:10:11 +02:00
use D3\DataWizardTasks\Application\Model\Exports\InactiveCategories;
use D3\DataWizardTasks\Application\Model\Exports\KeyFigures;
use FormManager\Factory;
2021-07-27 15:10:11 +02:00
class Configuration extends Configuration_parent
{
public function configure()
{
parent::configure();
$this->registerAction( ConfigurationParent::GROUP_ARTICLES, oxNew( FixArtextendsItems::class));
2021-07-28 17:39:15 +02:00
$this->registerAction( ConfigurationParent::GROUP_CMS, oxNew( FixWysiwygSpecialChars::class));
2021-07-27 15:10:11 +02:00
$this->registerExport( ConfigurationParent::GROUP_CATEGORY, oxNew( InactiveCategories::class));
2024-05-13 15:53:13 +02:00
// FormManager
if (class_exists(Factory::class)) {
$this->registerExport( ConfigurationParent::GROUP_SHOP, oxNew( KeyFigures::class ) );
}
2021-07-28 17:39:15 +02:00
$this->registerExport( ConfigurationParent::GROUP_CMS, oxNew( DestroyedWysiwygSpecialChars::class));
2021-07-27 15:10:11 +02:00
}
}