Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

config_add_single_ftype_select()

Description

Return a data structure that will instruct the configuration page generator functions to
add a single RS field-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.
$rtype integer false optional to specify a resource type to get fields for
$ftypes array
$autosave false
array integer $ftypes an array of field types e.g. (4,6,10) will return only fields of a date type

Location

include/config_functions.php lines 900 to 903

Definition

 
function config_add_single_ftype_select($config_var$label$width=300$rtype=false$ftypes=array(),$autosave=false)
    {
    return array(
'single_ftype_select'$config_var$label$width$rtype$ftypes,$autosave);
    }

This article was last updated 7th July 2020 10:35 Europe/London time based on the source file dated 18th May 2020 17:14 Europe/London time.