24 'align' =>
'vertical',
34 unset(
$vars[
'options_values']);
53 unset(
$vars[
'options']);
65 'elgg-input-checkboxes',
66 "elgg-{$vars['align']}",
68 unset(
$vars[
'class']);
80 if (
$vars[
'name'] &&
$vars[
'default'] !==
false) {
99 $checkbox_input_options = array_merge(
$input_vars, $option);
101 $checkbox_input_options[
'label'] =
elgg_extract(
'text', $checkbox_input_options,
$label);
102 unset($checkbox_input_options[
'text']);
if(!empty($options)&&empty($input_options)) if(empty($input_options)) $list_class
if($vars['name']&&$vars['default']!==false) $input_vars
elgg_strtolower()
Wrapper function for mb_strtolower().
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
foreach($options_values as $key=> $value) $options
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
$defaults
Displays a checkbox input field.
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
elgg_extract_class(array $array, array|string $existing=[], string $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.