OXID eShop CE  7.0.0
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'
 

Private Member Functions

 requestVersionInfo (string $url)
 
 getLanguageAbbreviation ()
 
 handleConnectionError (Throwable $e)
 
 displayErrorMessage (string $message)
 
 filterVersionCheckerResponse (string $response)
 
 parseResponseForTheNewestShopVersion (string $response)
 
 shopIsOutdated (string $newestShopVersion)
 
 insertLinkToShopUpdateDocumentation (string $response)
 

Private Attributes

string $versionCheckLink = 'https://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

◆ displayErrorMessage()

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

◆ 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

◆ filterVersionCheckerResponse()

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

◆ getLanguageAbbreviation()

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

◆ handleConnectionError()

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

◆ insertLinkToShopUpdateDocumentation()

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

◆ parseResponseForTheNewestShopVersion()

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

◆ render()

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

◆ requestVersionInfo()

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

◆ shopIsOutdated()

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::shopIsOutdated ( string  $newestShopVersion)
private

Member Data Documentation

◆ $_sThisTemplate

OxidEsales\EshopCommunity\Application\Controller\Admin\ShopLicense::$_sThisTemplate = 'shop_license'
protected

◆ $versionCheckLink

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

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