77 lignes
1.7 KiB
PHP
77 lignes
1.7 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Copyright (c) D3 Data Development (Inh. Thomas Dartsch)
|
|
*
|
|
* 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\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';
|
|
}
|
|
}
|