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 1659 to 1668

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 27th July 2024 10:35 Europe/London time based on the source file dated 16th July 2024 15:25 Europe/London time.