modulesfeature-stats.php

Functions

update_statistics()

update_statistics(  $update_all = false) 

Parameters

$update_all

stats_load()

stats_load() : object

Loads and returns the statistics cache file.

Returns

object —

The loaded & decoded statistics.

stats_save()

stats_save(  $stats) : boolean

Saves the statistics back to disk.

Parameters

$stats

Returns

boolean —

Whether saving succeeded or not.