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

config_add_single_rtype_select()

Description

Return a data structure that will instruct the configuration page generator functions to
add a single RS resource-type select configuration variable to the setup page.

Parameters

ColumnTypeDefaultDescription
$config_var string the name of the configuration variable to be added.
$label string the user text displayed to label the select block. Usually a $lang string.
$width integer 300 the width of the input field in pixels. Default: 300.

Location

include/plugin_functions.php lines 1101 to 1104

Definition

 
function config_add_single_rtype_select($config_var$label$width=300)
    {
    return array(
'single_rtype_select',$config_var$label$width);
    }

This article was last updated 5th December 2024 06:05 Europe/London time based on the source file dated 29th November 2024 10:35 Europe/London time.