Collections functions
General functions
Render functions
Theme permission functions
Resource functions

get_max_resource_ref()

Parameters

This function accepts no parameters.

Location

include/resource_functions.php lines 3767 to 3771

Definition

 
function get_max_resource_ref()
    {
    
# Returns the highest resource reference in use.
    
return ps_value("SELECT MAX(ref) value FROM resource",[],0);
    }

This article was last updated 29th January 2023 10:05 Europe/London time based on the source file dated 26th January 2023 19:05 Europe/London time.