Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test functions

config_text_input()

Description

Generate an html text entry or password block

Parameters

ColumnTypeDefaultDescription
$name 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.
$current string The current value of the config variable being set.
$password bool false Whether this is a "normal" text-entry field or a password-style field.
$width int 420 The width of the input field in pixels. Default: 420.
$textarea bool false Render as a HTML