Piwik\

Metrics

This class contains metadata regarding core metrics and contains several related helper functions.

Of note are the INDEX_... constants. In the database, metric column names in DataTable rows are stored as integers to save space. The integer values used are determined by these constants.

Properties

This class defines the following properties:

$mappingFromIdToName

Signature

  • Its type is not specified.

$mappingFromIdToNameGoal

Signature

  • Its type is not specified.

Methods

The class defines the following methods:

getMappingFromIdToName()

Signature

  • It does not return anything or a mixed result.

getVisitsMetricNames()

Signature

  • It does not return anything or a mixed result.

getMappingFromNameToId()

Signature

  • It does not return anything or a mixed result.

getMappingFromNameToIdGoal()

Signature

  • It does not return anything or a mixed result.

getDefaultMetricSemanticTypes()

Signature

  • It returns a array value.

getDefaultMetricTranslations()

Signature

  • It does not return anything or a mixed result.

getDefaultMetrics()

Signature

  • It does not return anything or a mixed result.

getDefaultProcessedMetrics()

Signature

  • It does not return anything or a mixed result.

getReadableColumnName()

Signature

  • It accepts the following parameter(s):

    • $columnIdRaw
  • It does not return anything or a mixed result.

getMetricIdsToProcessReportTotal()

Signature

  • It does not return anything or a mixed result.

getDefaultMetricsDocumentation()

Signature

  • It does not return anything or a mixed result.

getPercentVisitColumn()

Signature

  • It does not return anything or a mixed result.