Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

download_summary()

Parameters

ColumnTypeDefaultDescription
$resource

Location

include/resource_functions.php lines 5819 to 5823

Definition

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

This article was last updated 19th March 2024 02:35 Europe/London time based on the source file dated 11th March 2024 14:25 Europe/London time.