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:

getVisitsMetricNames()

Signature

  • It does not return anything.

getMappingFromNameToId()

Signature

  • It does not return anything.

getMappingFromNameToIdGoal()

Signature

  • It does not return anything.

getDefaultMetricTranslations()

Signature

  • It does not return anything.

getDefaultMetrics()

Signature

  • It does not return anything.

getDefaultProcessedMetrics()

Signature

  • It does not return anything.

getReadableColumnName()

Signature

  • It accepts the following parameter(s):

    • $columnIdRaw
  • It does not return anything.

getMetricIdsToProcessReportTotal()

Signature

  • It does not return anything.

getDefaultMetricsDocumentation()

Signature

  • It does not return anything.

getPercentVisitColumn()

Signature

  • It does not return anything.