PHP Class Piwik\Plugins\CustomPiwikJs\TrackerUpdater

Afficher le fichier Open project: piwik/piwik Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string | null $fromFile = null, string | null $toFile = null )
checkWillSucceed ( )
getCurrentTrackerFileContent ( )
getUpdatedTrackerFileContent ( )
setTrackerFiles ( Piwik\Plugins\CustomPiwikJs\TrackingCode\PluginTrackerFiles $trackerFiles )
update ( )

Method Details

__construct() public méthode

public __construct ( string | null $fromFile = null, string | null $toFile = null )
$fromFile string | null If null then the minified JS tracker file in /js fill be used
$toFile string | null If null then the minified JS tracker will be updated.

checkWillSucceed() public méthode

public checkWillSucceed ( )

getCurrentTrackerFileContent() public méthode

getUpdatedTrackerFileContent() public méthode

setTrackerFiles() public méthode

public setTrackerFiles ( Piwik\Plugins\CustomPiwikJs\TrackingCode\PluginTrackerFiles $trackerFiles )
$trackerFiles Piwik\Plugins\CustomPiwikJs\TrackingCode\PluginTrackerFiles

update() public méthode

public update ( )