PHP Class Piwik\Plugin\ReleaseChannels

显示文件 Open project: piwik/piwik Class Usage Examples

Public Methods

Method Description
__construct ( Manager $pluginManager )
getActiveReleaseChannel ( ) : ReleaseChannel
getAllReleaseChannels ( ) : ReleaseChannel[]
isValidReleaseChannelId ( $releaseChannelId )
setActiveReleaseChannelId ( string $channel ) Sets the given release channel in config but does not save id. $config->forceSave() still needs to be called

Private Methods

Method Description
factory ( string $releaseChannelId ) : ReleaseChannel

Method Details

__construct() public method

public __construct ( Manager $pluginManager )
$pluginManager Manager

getActiveReleaseChannel() public method

public getActiveReleaseChannel ( ) : ReleaseChannel
return Piwik\UpdateCheck\ReleaseChannel

getAllReleaseChannels() public method

public getAllReleaseChannels ( ) : ReleaseChannel[]
return Piwik\UpdateCheck\ReleaseChannel[]

isValidReleaseChannelId() public method

public isValidReleaseChannelId ( $releaseChannelId )

setActiveReleaseChannelId() public method

Sets the given release channel in config but does not save id. $config->forceSave() still needs to be called
public setActiveReleaseChannelId ( string $channel )
$channel string