Elgg  Version 6.1
Variables
label.php File Reference

Go to the source code of this file.

Variables

 $label = elgg_extract('label', $vars, '')
 Form input label view. More...
 
 $id = elgg_extract('id', $vars)
 
 $required = elgg_extract('required', $vars)
 
if(!$labelif ($required)
 

Variable Documentation

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

Definition at line 11 of file label.php.

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

Form input label view.

$vars['label'] HTML content of the label element $vars['required_indicator'] Override required indicator with a custom view, or set to a false value to not render it $vars['id'] ID attribute of the input element

Definition at line 10 of file label.php.

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

Definition at line 12 of file label.php.

if (!$label) if($required)

Definition at line 18 of file label.php.