Elgg
Version 2.3
|
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, '') | |
$class = elgg_extract_class($vars, 'elgg-field') | |
if(elgg_extract('required', $vars)) | $field = $label . $input . $help |
$class = elgg_extract_class($vars, 'elgg-field') |
$help = elgg_extract('help', $vars, '') |
$input = elgg_extract('input', $vars) |
Form field view.
@uses $vars['input'] Form input element @uses $vars['id'] ID attribute of the input element @uses $vars['required'] Required or optional input @uses $vars['label'] HTML content of the label element @uses $vars['help'] HTML content of the help element