PHP Class Piwik\Plugins\PrivacyManager\Controller

Inheritance: extends Piwik\Plugin\ControllerAdmin
Afficher le fichier Open project: piwik/piwik Class Usage Examples

Méthodes publiques

Méthode Description
executeDataPurge ( ) Executes a data purge, deleting log data and report data using the current config options. Echo's the result of getDatabaseSize after purging.
getDatabaseSize ( ) Echo's an HTML chunk describing the current database size, and the estimated space savings after the scheduled data purge is run.
privacySettings ( )

Méthodes protégées

Méthode Description
getAnonymizeIPInfo ( )
getDeleteDBSizeEstimate ( $getSettingsFromQuery = false, $forceEstimate = false )
getDeleteDataInfo ( )

Private Methods

Méthode Description
checkDataPurgeAdminSettingsIsEnabled ( )
getPurgeSettingsFromRequest ( ) : array Utility function. Gets the delete logs/reports settings from the request and uses them to populate config arrays.

Method Details

executeDataPurge() public méthode

Executes a data purge, deleting log data and report data using the current config options. Echo's the result of getDatabaseSize after purging.
public executeDataPurge ( )

getAnonymizeIPInfo() protected méthode

protected getAnonymizeIPInfo ( )

getDatabaseSize() public méthode

Echo's an HTML chunk describing the current database size, and the estimated space savings after the scheduled data purge is run.
public getDatabaseSize ( )

getDeleteDBSizeEstimate() protected méthode

protected getDeleteDBSizeEstimate ( $getSettingsFromQuery = false, $forceEstimate = false )

getDeleteDataInfo() protected méthode

protected getDeleteDataInfo ( )

privacySettings() public méthode

public privacySettings ( )