Elgg  Version 4.3
attachments.php
Go to the documentation of this file.
1 <?php
2 
9 $attachments = elgg_extract('attachments', $vars);
10 if (!$attachments) {
11  return;
12 }
13 
15  'class' => 'elgg-listing-full-attachments',
16 ], $attachments);
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:135
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:547
$attachments
Outputs attachments.
Definition: attachments.php:9
elgg echo
Translates a string.
Definition: deprecated.js:530
$vars['head']
Definition: html.php:24