Elgg  Version master
Variables
file.php File Reference

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)
 

Variable Documentation

$defaults
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.

if($max_size!==false)

Definition at line 30 of file file.php.