Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

config_add_file_input()

Description

Return a data structure that will be used to generate the HTML for
uploading a file

Parameters

ColumnTypeDefaultDescription
$config_var
$label string
$form_action string URL where the form should post to
$width int 420 Width of the input file HTML tag. Default - 420
$name string HTML input file name attribute

Location

include/config_functions.php lines 567 to 570

Definition

 
function config_add_file_input($config_var$label$form_action$width 420)
    {   
    return array(
'file_input'$config_var$label$form_action$width);
    }

This article was last updated 12th July 2020 06:35 Europe/London time based on the source file dated 8th July 2020 11:40 Europe/London time.