Elgg  Version 6.1
body.php
Go to the documentation of this file.
1 <?php
2 
11 if (!$body) {
12  return;
13 }
14 
15 $body_params = elgg_extract('body_params', $vars, []);
16 $body_params['class'] = elgg_extract_class($body_params, ['elgg-listing-full-body']);
17 
if(!$body) $body_params
Definition: body.php:15
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:256
$body
Wrap form body.
Definition: body.php:11
$vars
Definition: theme.php:5
elgg_format_element(string $tag_name, array $attributes=[], string $text= '', array $options=[])
Format an HTML element.
Definition: output.php:145
elgg_extract_class(array $array, array|string $existing=[], string $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:279