Method | Description | |
---|---|---|
getMetrics ( ) : array | Get the metrics of current query. | |
mergeMetrics ( string | array $newMetrics ) | Convert $newMetrics to array if string given and pass the array to a helper function. | |
setMetrics ( $metrics ) | Set the metrics of current query while converting string values to array. |
Method | Description | |
---|---|---|
getMetricsAsString ( ) : string | Get the metrics of current query as string. | |
mergeNewMetricsToCurrentOnes ( array $newMetrics ) : array | Merge $newMetrics with current ones. | |
metricsAreSet ( ) | Determine if metrics are set. |
public getMetrics ( ) : array | ||
return | array |
public mergeMetrics ( string | array $newMetrics ) | ||
$newMetrics | string | array |
public setMetrics ( $metrics ) |