OXID eShop CE  6.4.2
OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense:

Public Member Functions

 render ()
 

Protected Member Functions

 _canUpdate ()
 
 _fetchCurVersionInfo ($sUrl)
 

Protected Attributes

 $_sThisTemplate = "shop_license.tpl"
 

Private Member Functions

 requestVersionInfo (string $url)
 
 getLanguageAbbreviation ()
 
 handleConnectionError (\Throwable $e)
 
 displayErrorMessage (string $message)
 
 insertUpdateLinkIntoResponse (string $response)
 

Private Attributes

 $versionCheckLink = 'http://admin.oxid-esales.com/CE/onlinecheck.php'
 

Detailed Description

Admin shop license setting manager. Collects shop license settings, updates it on user submit, etc. Admin Menu: Main Menu -> Core Settings -> License.

Member Function Documentation

◆ _canUpdate()

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::_canUpdate ( )
protected

Checks if the license key update is allowed.

Returns
bool
Deprecated:
underscore prefix violates PSR12, will be renamed to "canUpdate" in next major

◆ _fetchCurVersionInfo()

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::_fetchCurVersionInfo (   $sUrl)
protected

Fetch current shop version information from url

Parameters
string$sUrlcurrent version info fetching url by edition
Returns
string
Deprecated:
underscore prefix violates PSR12, will be renamed to "fetchCurVersionInfo" in next major

◆ displayErrorMessage()

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::displayErrorMessage ( string  $message)
private

◆ getLanguageAbbreviation()

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::getLanguageAbbreviation ( )
private

◆ handleConnectionError()

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::handleConnectionError ( \Throwable  $e)
private

◆ insertUpdateLinkIntoResponse()

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::insertUpdateLinkIntoResponse ( string  $response)
private

◆ render()

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::render ( )

Executes parent method parent::render(), creates oxshop object, passes it's data to Smarty engine and returns name of template file "shop_license.tpl".

Returns
string
Exceptions
SystemComponentException

◆ requestVersionInfo()

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::requestVersionInfo ( string  $url)
private

Member Data Documentation

◆ $_sThisTemplate

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::$_sThisTemplate = "shop_license.tpl"
protected

◆ $versionCheckLink

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::$versionCheckLink = 'http://admin.oxid-esales.com/CE/onlinecheck.php'
private

The documentation for this class was generated from the following file: