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 3482 to 3485

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 5th October 2022 12:35 Europe/London time based on the source file dated 30th September 2022 14:20 Europe/London time.