Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

config_add_text_input()

Description

Return a data structure that will instruct the configuration page generator functions to
add a text entry configuration variable to the setup page.

field. Defaulted to false.

Parameters

ColumnTypeDefaultDescription
$config_var string the name of the configuration variable to be added.
$label string the user text displayed to label the text block. Usually a $lang string.
$password boolean false whether this is a "normal" text-entry field or a password-style
$width integer 420 the width of the input field in pixels. Default: 420.
$textarea false
$title null
$autosave false
$hidden false

Location

include/config_functions.php lines 441 to 444

Definition

 
function config_add_text_input($config_var$label$password false$width 420$textarea false$title null$autosave false$hidden=false)
    {
    return array(
'text_input'$config_var$label$password$width$textarea$title$autosave$hidden);
    }

This article was last updated 15th June 2021 12:35 Europe/London time based on the source file dated 10th May 2021 17:30 Europe/London time.