PHP 클래스 Piwik\Plugins\Marketplace\API

상속: extends Piwik\Plugin\API
파일 보기 프로젝트 열기: piwik/piwik

공개 메소드들

메소드 설명
__construct ( Service $service, Client $client, InvalidLicenses $expired )
deleteLicenseKey ( ) : boolean Deletes an existing license key if one is set.
saveLicenseKey ( string $licenseKey ) : boolean Saves the given license key in case the key is actually valid (exists on the Piwik Marketplace and is not yet expired).

비공개 메소드들

메소드 설명
setLicenseKey ( $licenseKey )

메소드 상세

__construct() 공개 메소드

public __construct ( Service $service, Client $client, InvalidLicenses $expired )
$service Piwik\Plugins\Marketplace\Api\Service
$client Piwik\Plugins\Marketplace\Api\Client
$expired Piwik\Plugins\Marketplace\Plugins\InvalidLicenses

deleteLicenseKey() 공개 메소드

Deletes an existing license key if one is set.
public deleteLicenseKey ( ) : boolean
리턴 boolean

saveLicenseKey() 공개 메소드

Saves the given license key in case the key is actually valid (exists on the Piwik Marketplace and is not yet expired).
public saveLicenseKey ( string $licenseKey ) : boolean
$licenseKey string
리턴 boolean