Elgg  Version 5.1
title.php
Go to the documentation of this file.
1 <?php
11 if (!is_string($title) || $title === '') {
12  return;
13 }
14 
16 
18  'class' => elgg_extract_class($vars),
19 ];
20 
21 $tag = elgg_extract('tag', $vars, 'h2', false);
22 
$title
Output annotation title.
Definition: title.php:9
elgg_get_excerpt(string $text, int $num_chars=250)
Returns an excerpt.
Definition: output.php:83
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:276
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
$tag
Definition: title.php:21
$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
$attributes
Definition: title.php:17