2024-04-19 16:15:46 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2024-09-02 08:48:43 +02:00
|
|
|
* Copyright (c) D3 Data Development (Inh. Thomas Dartsch)
|
2024-04-19 16:15:46 +02:00
|
|
|
*
|
2024-09-02 08:48:43 +02:00
|
|
|
* For the full copyright and license information, please view
|
|
|
|
* the LICENSE file that was distributed with this source code.
|
2024-04-19 16:15:46 +02:00
|
|
|
*
|
|
|
|
* https://www.d3data.de
|
|
|
|
*
|
|
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
2024-09-02 08:48:43 +02:00
|
|
|
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
|
|
|
|
* @link https://www.oxidmodule.com
|
2024-04-19 16:15:46 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace D3\ModCfg\Application\Controller\Admin\Configuration;
|
|
|
|
|
|
|
|
use OxidEsales\Eshop\Core\Registry;
|
|
|
|
|
|
|
|
class d3modext_new extends d3mod_status
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* additional multilang item, which will added as last part to help url
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $_sHelpLinkMLAdd = 'D3MODCFG_EXT_HELPLINK_STATUS';
|
|
|
|
protected $_sRemoteUpdateSessionVarname = 'd3RemoteExtList';
|
|
|
|
protected $_sRemoteModuleSessionVarname = 'd3RemoteExt';
|
|
|
|
protected $_sMenuSubItemTitle = 'd3mxextensions';
|
|
|
|
public $aRemoteMods = [];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getModuleType()
|
|
|
|
{
|
|
|
|
return 'ext';
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return array|mixed
|
|
|
|
*/
|
|
|
|
public function getRemoteMods()
|
|
|
|
{
|
|
|
|
if (Registry::getSession()->hasVariable('d3RemoteExtensions')) {
|
|
|
|
$this->aRemoteMods = Registry::getSession()->getVariable('d3RemoteExtensions');
|
|
|
|
}
|
|
|
|
|
|
|
|
return $this->aRemoteMods;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function getShowNewItems()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function getInstalledModuleList()
|
|
|
|
{
|
|
|
|
return [];
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getTitleIdent()
|
|
|
|
{
|
|
|
|
return 'D3_MOD_EXT_AVAILABLE';
|
|
|
|
}
|
|
|
|
}
|