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

Table: resource_type

Resource types, such as photo / video / case study. The choice of resource type will determine the metadata fields a resource has.

ColumnTypeNote
refint(11)Auto incrementing index
namevarchar(200)Resource type name.
allowed_extensionsTEXTList of allowed extensions for this resource type.
order_byint(11)Order defined by the adminstrators.
config_optionstextSupports separate configuration options for resources depending on resource type.
push_metadataint(11)If set, the metadata for this resource will be displayed on the resource view page for any related resources.
coloursmallintColour used for map marker when using map view search results.
icontinytextFont Awesome class name for icon displayed in thumbnail search results.
tabint(11)Reference to a system tab. See the "tab" table.

Default contents are as follows.

refnameallowed_extensionsorder_byconfig_optionspush_metadatacolouricontab
1Photofas fa-image
2Documentfas fa-file-alt
3Videofas fa-video
4Audiofas fa-music

Please see the schema overview for context. This document was last updated on the 11th of December 2023 at 06:05 (Europe/London time).