class CollectorData

Constants

AGGREGATION_LEVEL_DAY

AGGREGATION_LEVEL_WEEK

Aggregation is always referring to $XF->lib->date->get_first_day_of_week until $XF->lib->date->get_last_day_of_week

AGGREGATION_LEVEL_MONTH

Methods

__construct(CollectorDimension $dimension)

No description

float
getAggregatedData()

No description

static bool
isValidAggregationLevel(string $level)

Checks if the provided aggregation level is valid.

setAggregatedData(float $data)

No description

Details

at line 32
__construct(CollectorDimension $dimension)

No description

Parameters

CollectorDimension $dimension

at line 53
float getAggregatedData()

No description

Return Value

float

at line 39
CollectorDimension getCollectorDimension()

No description

Return Value

CollectorDimension

at line 64
static bool isValidAggregationLevel(string $level)

Checks if the provided aggregation level is valid.

Parameters

string $level

Return Value

bool

at line 48
CollectorData setAggregatedData(float $data)

No description

Parameters

float $data

Return Value

CollectorData