Elgg  Version 2.3
field.php File Reference

Go to the source code of this file.


 $input = elgg_extract('input', $vars)
 Form field view. More...
if(!$input$label = elgg_extract('label', $vars, '')
 $help = elgg_extract('help', $vars, '')
 $class = elgg_extract_class($vars, 'elgg-field')
if(elgg_extract('required', $vars)) $field = $label . $input . $help

Variable Documentation

Definition at line 20 of file field.php.

if (elgg_extract('required', $vars)) $field = $label . $input . $help

Definition at line 25 of file field.php.

$help = elgg_extract('help', $vars, '')

Definition at line 18 of file field.php.

$input = elgg_extract('input', $vars)

Form field view.

$vars['input'] Form input element $vars['id'] ID attribute of the input element $vars['required'] Required or optional input $vars['label'] HTML content of the label element $vars['help'] HTML content of the help element

Definition at line 12 of file field.php.

if (!$input) $label = elgg_extract('label', $vars, '')

Definition at line 17 of file field.php.