Lizmap Web Client 3.11.0

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)

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...)

On this page

Search results