Elgg  Version master
Variables
field.php File Reference

Go to the source code of this file.

Variables

 $value = elgg_extract('value', $vars)
 Outputs a field with a label. More...
 
if(elgg_is_empty($value)) $icon = (string) elgg_extract('icon', $vars)
 
if($icon &&!str_starts_with($icon, '<')) if($icon$label = (string) elgg_extract('label', $vars)
 

Variable Documentation

if (elgg_is_empty($value)) $icon = (string) elgg_extract('icon', $vars)

Definition at line 17 of file field.php.

$label = (string) elgg_extract('label', $vars)

Definition at line 28 of file field.php.

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

Outputs a field with a label.

$vars['label'] Label $vars['value'] Value $vars['class'] Additional classes $vars['icon'] Icon $vars['name'] Field name

Definition at line 12 of file field.php.