Elgg  Version master
content.php
Go to the documentation of this file.
1 <?php
8 $content = (string) elgg_extract('content', $vars);
10  return;
11 }
12 
13 echo elgg_format_element('div', [
14  'class' => [
15  'elgg-listing-summary-content',
16  'elgg-content',
17  ]
18 ], $content);
elgg_is_empty($value)
Check if a value isn&#39;t empty, but allow 0 and &#39;0&#39;.
Definition: input.php:176
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:254
$content
Outputs annotation summary content.
Definition: content.php:9
$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