Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video 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 842 to 845

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 29th November 2020 04:35 Europe/London time based on the source file dated 6th October 2020 10:25 Europe/London time.