Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

download_summary()

Parameters

ColumnTypeDefaultDescription
$resource

Location

include/resource_functions.php lines 5324 to 5328

Definition

 
function download_summary($resource)
    {
    
# Returns a summary of downloads by usage type
    
return sql_query("select usageoption,count(*) c from resource_log where resource='$resource' and type='D' group by usageoption order by usageoption");
    }

This article was last updated 25th November 2020 05:05 Europe/London time based on the source file dated 13th November 2020 16:50 Europe/London time.