Collections functions
General functions
Render functions
Theme permission functions
Resource functions

get_resource_ref_range()

Description

Returns an array of resource references in the range $lower to $upper.

Parameters

ColumnTypeDefaultDescription
$lower int ID of resource, lower in range
$higher int ID of resource, upper in range

Return

array

Location

include/resource_functions.php lines 3714 to 3717

Definition

 
function get_resource_ref_range($lower,$higher)
    {
    return 
ps_array("select ref value from resource where ref>=? and ref<=? and archive=0 order by ref",array("i",$lower,"i",$higher),0);
    }

This article was last updated 4th February 2023 12:05 Europe/London time based on the source file dated 3rd February 2023 13:55 Europe/London time.