Elgg
Version master
|
Go to the source code of this file.
Variables | |
if(!empty($vars['value'])) | $vars ['class'] = elgg_extract_class($vars, 'elgg-input-file') |
Elgg file input Displays a file input field. More... | |
$defaults | |
$max_size = elgg_extract('max_size', $vars, true) | |
if ( $max_size !==false) | |
$max_size = elgg_extract('max_size', $vars, true) |
$vars = elgg_extract_class($vars, 'elgg-input-file') |
Elgg file input Displays a file input field.
@uses $vars['value'] The current value if any @uses $vars['class'] Additional CSS class @uses $vars['max_size'] bool|int true for autodetection of max upload size (default), false to disable or int for a custom file size to check