<<

NAME

C4::UsageStats

DESCRIPTION

This package contains what is needed to report Koha statistics to hea hea.koha-community.org is the server that centralize Koha setups informations Koha libraries are encouraged to provide informations about their collections, their structure,...

NeedUpdate

  $needUpdateYN = C4::UsageStats::NeedUpdate;

Returns Y (1) if the last update is more than 1 month old This way, even if the cronjob is run every minute, the webservice will be called only once a month !

ReportToCommunity

  ReportToCommunity;

Send to hea.koha-community.org database informations

_count

  $data = _count($table);

Count the number of records in $table tables

<<