Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test 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.
pull_imagessmallintUse images from related resources if not one present for the current resource? 0 by default

Default contents are as follows.

refnameallowed_extensionsorder_byconfig_optionspush_metadatacolouricontabpull_images
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 4th of December 2024 at 08:35 (Europe/London time).