Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

download_summary()

Parameters

ColumnTypeDefaultDescription
$resource

Location

include/resource_functions.php lines 4960 to 4964

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 16th July 2020 01:35 Europe/London time based on the source file dated 15th July 2020 16:26 Europe/London time.