AggregateFunction
in package
FinalYes
Table of Contents
Constants
- ALL : mixed = array(self::SUM, self::COUNT, self::AVG, self::...
- AVG : mixed = 'avg'
- COUNT : mixed = 'count'
- FIRST : mixed = 'first'
- LAST : mixed = 'last'
- MAX : mixed = 'max'
- MEDIAN : mixed = 'median'
- MIN : mixed = 'min'
- STDDEV : mixed = 'stddev'
- SUM : mixed = 'sum'
Methods
- normalize() : null|string
- Normalize the aggregation given in the plot configuration.
Constants
ALL
public
mixed
ALL
= array(self::SUM, self::COUNT, self::AVG, self::MIN, self::MAX, self::FIRST, self::LAST, self::STDDEV, self::MEDIAN)
AVG
public
mixed
AVG
= 'avg'
COUNT
public
mixed
COUNT
= 'count'
FIRST
public
mixed
FIRST
= 'first'
LAST
public
mixed
LAST
= 'last'
MAX
public
mixed
MAX
= 'max'
MEDIAN
public
mixed
MEDIAN
= 'median'
MIN
public
mixed
MIN
= 'min'
STDDEV
public
mixed
STDDEV
= 'stddev'
SUM
public
mixed
SUM
= 'sum'
Methods
normalize()
Normalize the aggregation given in the plot configuration.
public
static normalize(mixed $value) : null|string
Parameters
- $value : mixed
-
the aggregation from the plot configuration
Return values
null|string —one of the supported functions, or null when no (or an unknown) aggregation is configured ('', 'no', 'none', null...)