Elgg  Version 3.0
title.php
Go to the documentation of this file.
1 <?php
11 if (!is_string($title) || $title === '') {
12  return;
13 }
14 
16  'class' => elgg_extract_class($vars),
17 ];
18 
19 $tag = elgg_extract('tag', $vars, 'h2', false);
20 
$title
Outputs object title.
Definition: title.php:9
if(!is_string($title)||$title=== '') $attributes
Definition: title.php:15
if(!is_string($title)||$title=== '') $tag
Definition: title.php:19
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:1153
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