GetPlugin("MetricsRecorder"); $ViewCountData = $Recorder->GetFullRecordViewCounts(NULL, NULL, 0, 30); # retrieve URL field click counts $Schema = new MetadataSchema(); $UrlField = $Schema->GetFieldByMappedName("Url"); if (isset($UrlField)) { $ClickCountData = $Recorder->GetUrlFieldClickCounts($UrlField->Id(), NULL, NULL, 0, 30); } function PrintRecordTable($CountData, $Caption) { ?> $Count) { $Resource = new Resource($Id); ?>"; ?>

ResourceCount
GetMapped("Title"); ?>
Period: " .date("M j Y", strtotime($CountData["StartDate"]))." - " .date("M j Y", strtotime($CountData["EndDate"])) ."

Collection Usage Metrics