8
0
ModCfg/Application/Controller/Admin/Configuration/d3modext_new.php

79 Zeilen
1.8 KiB
PHP

2024-04-19 16:15:46 +02:00
<?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.
*
* https://www.d3data.de
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
* @link http://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';
}
}