PHP Class Piwik\Plugins\PrivacyManager\Controller

Inheritance: extends Piwik\Plugin\ControllerAdmin
Show file Open project: piwik/piwik Class Usage Examples

Public Methods

Method 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 ( )

Protected Methods

Method Description
getAnonymizeIPInfo ( )
getDeleteDBSizeEstimate ( $getSettingsFromQuery = false, $forceEstimate = false )
getDeleteDataInfo ( )

Private Methods

Method 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 method

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 method

protected getAnonymizeIPInfo ( )

getDatabaseSize() public method

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 method

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

getDeleteDataInfo() protected method

protected getDeleteDataInfo ( )

privacySettings() public method

public privacySettings ( )