Elgg  Version 3.0
subtitle.php
Go to the documentation of this file.
1 <?php
6 $subtitle = elgg_extract('subtitle', $vars);
7 if (!isset($subtitle)) {
8  $subtitle = elgg_view('object/elements/imprint', $vars);
9 }
10 if (!$subtitle) {
11  return;
12 }
13 
15  'class' => [
16  'elgg-listing-summary-subtitle',
17  'elgg-subtext',
18  ]
19 ], $subtitle);
$subtitle
Outputs object subtitle $vars[&#39;subtitle&#39;] Subtitle.
Definition: subtitle.php:6
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
elgg echo
Translates a string.
Definition: languages.js:43
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:1131
$vars['type']
Definition: save.php:11
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246