Elgg  Version master
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(elgg_is_empty($label)) if ( $required)
 

Variable Documentation

◆ $id

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

Definition at line 11 of file label.php.

◆ $label

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

Form input label view.

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

Definition at line 10 of file label.php.

◆ $required

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

Definition at line 12 of file label.php.

◆ if

if (elgg_is_empty( $label)) if($required) (   $required)

Definition at line 18 of file label.php.