Elgg  Version 4.3
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_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:569
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:135
$tag
Definition: title.php:21
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
elgg_get_excerpt($text, $num_chars=250)
Returns an excerpt.
Definition: output.php:72
elgg echo
Translates a string.
Definition: deprecated.js:530
$vars['head']
Definition: html.php:24
$attributes
Definition: title.php:17