Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_resource_type_name()

Parameters

ColumnTypeDefaultDescription
$type

Location

include/resource_functions.php lines 3306 to 3311

Definition

 
function get_resource_type_name($type)
    {
    global 
$lang;
    if (
$type==999) {return $lang["archive"];}
    return 
lang_or_i18n_get_translated(sql_value("select name value from resource_type where ref='$type'","""schema"),"resourcetype-");
    }

This article was last updated 11th July 2020 21:35 Europe/London time based on the source file dated 10th July 2020 16:06 Europe/London time.