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 1623 to 1632

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 April 2024 07:35 Europe/London time based on the source file dated 18th April 2024 17:15 Europe/London time.