Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_resource_type_name()

Parameters

ColumnTypeDefaultDescription
$type

Location

include/resource_functions.php lines 3720 to 3725

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='" escape_check($type) . "'","""schema"),"resourcetype-");
    }

This article was last updated 13th June 2021 06:05 Europe/London time based on the source file dated 4th June 2021 11:55 Europe/London time.