Collections functions
General functions
Render functions
Theme permission functions
User 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 1004 to 1007

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 3rd December 2023 01:05 Europe/London time based on the source file dated 10th November 2023 10:50 Europe/London time.