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

rs_get_resource_type()

Description

Get resource_type data

Parameters

ColumnTypeDefaultDescription
$ref int

Return

array *

Location

include/config_functions.php lines 1646 to 1655

Definition

 
function rs_get_resource_type(int $ref)
    {
    return 
ps_query("SELECT " columns_in('resource_type') . "
                    FROM resource_type
                WHERE ref = ?
                ORDER BY `name`"
,
            array(
"i",$ref),
            
"schema"
            
);
    }

This article was last updated 29th May 2024 12:35 Europe/London time based on the source file dated 23rd May 2024 18:05 Europe/London time.