Elgg  Version 2.3
title.php
Go to the documentation of this file.
1 <?php
9 $title = elgg_extract('title', $vars);
10 if (!is_string($title) || $title === '') {
11  return;
12 }
13 
15 
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:1375
elgg_extract_class(array $array, $existing=[])
Extract class names from an array with key "class", optionally merging into a preexisting set.
Definition: elgglib.php:1396
$title
Outputs object title @uses $vars['title'] Title.
Definition: title.php:8
elgg_format_element($tag_name, array $attributes=array(), $text='', array $options=array())
Format an HTML element.
Definition: output.php:208
if(!is_string($title)|| $title==='') $attributes['class']
Definition: title.php:14
$vars['entity']