Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

daily_stat()

Description

Update the daily statistics after a loggable event.

The daily_stat table contains a counter for each 'activity type' (i.e. download) for each object (i.e. resource) per day.

Parameters

ColumnTypeDefaultDescription
$activity_type string
$object_ref integer
$to_add integer 1 Optional, how many counts to add, defaults to 1.

Return

void

This article was last updated 27th July 2024 16:05 Europe/London time based on the source file dated 23rd July 2024 11:50 Europe/London time.