Elgg  Version 5.1
file.php File Reference

Go to the source code of this file.


if(!empty($vars['value'])) $vars ['class'] = elgg_extract_class($vars, 'elgg-input-file')
 Elgg file input Displays a file input field. More...
 $max_size = elgg_extract('max_size', $vars, true)
 if ($max_size!==false)

Variable Documentation

Initial value:
= [
'type' => 'file'

Definition at line 21 of file file.php.

$max_size = elgg_extract('max_size', $vars, true)

Definition at line 27 of file file.php.

$vars = elgg_extract_class($vars, 'elgg-input-file')

Elgg file input Displays a file input field.

$vars['value'] The current value if any $vars['class'] Additional CSS class $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

Definition at line 19 of file file.php.


Definition at line 30 of file file.php.