Helper method that determines the actual column for a metric in a {@link Piwik\DataTable}.
public static getActualMetricColumn ( |
||
$table | ||
$columnName | string | |
$mappingNameToId | int[] | null | A custom mapping of metric names to special index values. By default {@link Metrics::getMappingFromNameToId()} is used. |
return | string |