Elgg  Version 6.1
body.php
Go to the documentation of this file.
1 <?php
11 $body = (string) elgg_extract('body', $vars);
12 if (empty($body)) {
13  return;
14 }
15 
16 echo elgg_format_element('div', ['class' => 'elgg-form-body'], $body);
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