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