Elgg
Version 2.3
|
Go to the source code of this file.
Namespaces | |
Elgg | |
Save menu items. | |
Variables | |
$defaults | |
$vars = array_merge($defaults, $vars) | |
$options = elgg_extract('options', $vars) | |
if(empty($options)) | $id = elgg_extract('id', $vars, '') |
$list_class = elgg_extract_class($vars, ['elgg-input-radios', "elgg-{$vars['align']}"]) | |
$vars ['class'] = 'elgg-input-radio' | |
if(is_array($vars['value'])) | else |
$value = $vars['value'] | |
$radios = '' | |
foreach ($options as $label=> $option) | |
if (empty($options)) $id = elgg_extract('id', $vars, '') |
$list_class = elgg_extract_class($vars, ['elgg-input-radios', "elgg-{$vars['align']}"]) |
$options = elgg_extract('options', $vars) |
if (is_array($vars['value'])) else |