Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Variables
field.php File Reference

Go to the source code of this file.

Variables

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

Variable Documentation

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

Definition at line 26 of file field.php.

$field_class = (array) elgg_extract('class', $vars, array())

Definition at line 20 of file field.php.

$field_class[] = 'elgg-field'

Definition at line 21 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.