Метод |
Описание |
|
doesPreferStable ( ) : boolean |
Whether only stable versions are wanted or also beta versions. |
|
getDescription ( ) : string |
Get the description for this release channel. Will be shown directly next to the name of the release in the
Admin UI. For example 'Recommended' or 'Long Term Support version'. |
|
getDownloadUrlWithoutScheme ( string $version ) : string |
Get the URL to download a specific Piwik archive for the given version number. The returned URL should not
include a URI scheme, meaning it should start with '://. |
|
getId ( ) : string |
Get the ID for this release channel. This string will be eg saved in the config to identify the chosen release
channel |
|
getName ( ) : string |
Get a human readable name for this release channel, will be visible in the UI. Should be already translated. |
|
getOrder ( ) : integer |
Get the order for this release channel. The lower the number the more important this release channel is. The
release channel having the lowest order will be shown first and will be used as default release channel in case
no valid release channel is defined. |
|
getUrlToCheckForLatestAvailableVersion ( ) : string |
Get the latest available version number for this release channel. Eg '2.15.0-b4' or '2.15.0'. Should be
a semantic version number in format MAJOR.MINOR.PATCH (http://semver.org/). Returning an empty string in case
one cannot connect to the remote server can be acceptable. |
|