22 'align' =>
'vertical',
33 unset(
$vars[
'options']);
44 unset(
$vars[
'class']);
45 unset(
$vars[
'align']);
47 $vars[
'class'] =
'elgg-input-radio';
49 if (is_array(
$vars[
'value'])) {
50 $vars[
'value'] = array_map(
'elgg_strtolower',
$vars[
'value']);
56 unset(
$vars[
'value']);
62 $vars[
'value'] = $option;
65 $radios .=
"<li><label>{$radio}{$label}</label></li>";
elgg_strtolower()
Wrapper function for mb_strtolower().
elgg_extract_class(array $array, $existing=[])
Extract class names from an array with key "class", optionally merging into a preexisting set...
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
elgg echo
Translates a string.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
$label
Elgg profile plugin edit default profile action.