PHP Трейт Kurt\Google\Analytics\Traits\Handlers\DimensionsHandler

Показать файл Открыть проект

Открытые методы

Метод Описание
getDimensions ( ) : array Get the metrics of current query.
mergeDimensions ( $newDimensions ) Convert $newMetrics to array if string given and pass the array to a helper function.
setDimensions ( $dimensions ) Set the dimensions of current query while converting string values to array.
unsetDimensions ( ) Unset the dimensions of current query.

Приватные методы

Метод Описание
dimentionsAreSet ( ) : boolean Determine if dimensions are set.
getDimensionsAsString ( ) : string Get the dimensions of current query as string.
mergeNewDimensionsToCurrentOnes ( $newDimensions ) : array Merge $newMetrics with current ones.

Описание методов

getDimensions() публичный Метод

Get the metrics of current query.
public getDimensions ( ) : array
Результат array

mergeDimensions() публичный Метод

Convert $newMetrics to array if string given and pass the array to a helper function.
public mergeDimensions ( $newDimensions )

setDimensions() публичный Метод

Set the dimensions of current query while converting string values to array.
public setDimensions ( $dimensions )

unsetDimensions() публичный Метод

Unset the dimensions of current query.
public unsetDimensions ( )