PHP Class Piwik\API\Inconsistencies

Code that handles the case when the 'format_metrics' query parameter value is 'bc' should be removed as well. This code is in API\Request and DataTablePostProcessor. Should be removed before releasing Piwik 3.0.
Afficher le fichier Open project: piwik/piwik Class Usage Examples

Méthodes publiques

Méthode Description
getPercentMetricsToFormat ( ) In Piwik 2.X and below, the "raw" API would format percent values but no others.

Method Details

getPercentMetricsToFormat() public méthode

This method returns the list of percent metrics that were returned from the API formatted so we can maintain BC. Used by DataTablePostProcessor.