Collections functions
General functions
Node 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 1005 to 1008

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 19th March 2024 07:05 Europe/London time based on the source file dated 15th March 2024 17:00 Europe/London time.