PHP Class Piwik\Plugins\Marketplace\Plugins\InvalidLicenses

ファイルを表示 Open project: piwik/piwik Class Usage Examples

Public Methods

Method Description
__construct ( Client $client, Piwik\Cache\Eager $cache, Piwik\Translation\Translator $translator, Plugins $plugins )
clearCache ( )
getMessageExceededLicenses ( )
getMessageExpiredLicenses ( )
getMessageNoLicense ( )
getPluginNamesOfInvalidLicenses ( )
setActivatedPluginNames ( array $pluginNames ) for tests only

Protected Methods

Method Description
isPluginActivated ( $pluginName )
isPluginInstalled ( $pluginName )

Private Methods

Method Description
getLoginLink ( )
getPluginNamesToExpireInCaseLicenseIsInvalid ( )
getSubscritionSummaryMessage ( )

Method Details

__construct() public method

public __construct ( Client $client, Piwik\Cache\Eager $cache, Piwik\Translation\Translator $translator, Plugins $plugins )
$client Piwik\Plugins\Marketplace\Api\Client
$cache Piwik\Cache\Eager
$translator Piwik\Translation\Translator
$plugins Piwik\Plugins\Marketplace\Plugins

clearCache() public method

public clearCache ( )

getMessageExceededLicenses() public method

getMessageExpiredLicenses() public method

getMessageNoLicense() public method

public getMessageNoLicense ( )

getPluginNamesOfInvalidLicenses() public method

isPluginActivated() protected method

protected isPluginActivated ( $pluginName )

isPluginInstalled() protected method

protected isPluginInstalled ( $pluginName )

setActivatedPluginNames() public method

for tests only
public setActivatedPluginNames ( array $pluginNames )
$pluginNames array