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

◆ $icon

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

Definition at line 17 of file field.php.

◆ $label

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

Definition at line 28 of file field.php.

◆ $value

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

Outputs a field with a label.

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

Definition at line 12 of file field.php.